|
Dynamic Neural Field Composer 0.0.0
A C++20 library and interactive application for building and simulating Dynamic Neural Field (DNF) architectures.
|
Parameters for a Collapse (2D -> 1D) element. More...
#include <collapse.h>
Public Member Functions | |
| CollapseParameters (const CompressionType compression=CompressionType::SUM, const ProjectionAxis keepAxis=ProjectionAxis::X, const ElementDimensions &inputDimensions=ElementDimensions{ 100, 100, 1.0, 1.0 }) | |
| Construct Collapse parameters. | |
| bool | operator== (const CollapseParameters &other) const |
| std::string | toString () const override |
Public Member Functions inherited from dnf_composer::element::ElementSpecificParameters | |
| ElementSpecificParameters ()=default | |
| void | print () const |
| virtual | ~ElementSpecificParameters ()=default |
Public Attributes | |
| CompressionType | compression |
| Reduction applied along the collapsed axis. | |
| ElementDimensions | inputDimensions |
| Spatial dimensions of the 2D source field. | |
| ProjectionAxis | keepAxis |
| Axis kept in the 1D output (the other is collapsed). | |
Parameters for a Collapse (2D -> 1D) element.
|
inlineexplicit |
Construct Collapse parameters.
| compression | Reduction along the collapsed axis (default SUM). |
| keepAxis | Axis kept in the output (default X -> collapse over Y). |
| inputDimensions | Dimensions of the 2D source field. |
|
inline |
|
inlineoverridevirtual |
Implements dnf_composer::element::ElementSpecificParameters.
| CompressionType dnf_composer::element::CollapseParameters::compression |
Reduction applied along the collapsed axis.
| ElementDimensions dnf_composer::element::CollapseParameters::inputDimensions |
Spatial dimensions of the 2D source field.
| ProjectionAxis dnf_composer::element::CollapseParameters::keepAxis |
Axis kept in the 1D output (the other is collapsed).