Oakfield API Documentation 1.0.0
Numerical core APIs
Loading...
Searching...
No Matches
SimNeuralShapeConstraints Struct Reference

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
 

Detailed Description

Shape and channel constraints used by neural operators.

Member Data Documentation

◆ allow_complex_input

bool SimNeuralShapeConstraints::allow_complex_input

Whether complex-valued fields are accepted.

◆ channel_axis

uint8_t SimNeuralShapeConstraints::channel_axis

Explicit channel axis or SIM_NEURAL_CHANNEL_AXIS_AUTO.

◆ channels_last

bool SimNeuralShapeConstraints::channels_last

Auto-axis policy: use last axis when true, axis 0 otherwise.

◆ max_channels

uint32_t SimNeuralShapeConstraints::max_channels

Maximum accepted channels on selected axis (0 disables).

◆ max_rank

uint8_t SimNeuralShapeConstraints::max_rank

Maximum accepted field rank (0 disables upper bound).

◆ min_channels

uint32_t SimNeuralShapeConstraints::min_channels

Minimum accepted channels on selected axis (0 disables).

◆ min_rank

uint8_t SimNeuralShapeConstraints::min_rank

Minimum accepted field rank (0 treated as 1).


The documentation for this struct was generated from the following file: