|
Oakfield API Documentation 1.0.0
Numerical core APIs
|
Shape and channel constraints used by neural operators. More...
#include <operator.h>
Public Attributes | |
| uint8_t | min_rank |
| uint8_t | max_rank |
| uint8_t | channel_axis |
| uint32_t | min_channels |
| uint32_t | max_channels |
| bool | channels_last |
| bool | allow_complex_input |
Shape and channel constraints used by neural operators.
| bool SimNeuralShapeConstraints::allow_complex_input |
Whether complex-valued fields are accepted.
| uint8_t SimNeuralShapeConstraints::channel_axis |
Explicit channel axis or SIM_NEURAL_CHANNEL_AXIS_AUTO.
| bool SimNeuralShapeConstraints::channels_last |
Auto-axis policy: use last axis when true, axis 0 otherwise.
| uint32_t SimNeuralShapeConstraints::max_channels |
Maximum accepted channels on selected axis (0 disables).
| uint8_t SimNeuralShapeConstraints::max_rank |
Maximum accepted field rank (0 disables upper bound).
| uint32_t SimNeuralShapeConstraints::min_channels |
Minimum accepted channels on selected axis (0 disables).
| uint8_t SimNeuralShapeConstraints::min_rank |
Minimum accepted field rank (0 treated as 1).