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

Mapping policy from SimField layout to canonical tensor layout. More...

#include <neural_tensor_map.h>

Collaboration diagram for SimNeuralTensorMapConfig:

Public Attributes

uint8_t channel_axis
 
bool channels_last
 
size_t batch_size
 
SimNeuralTensorComplexMode complex_mode
 
SimNeuralTensorAffineHook affine
 

Detailed Description

Mapping policy from SimField layout to canonical tensor layout.

Current implementation supports batch_size == 1.

Member Data Documentation

◆ affine

SimNeuralTensorAffineHook SimNeuralTensorMapConfig::affine

Optional affine transform hook.

◆ batch_size

size_t SimNeuralTensorMapConfig::batch_size

Canonical batch dimension; currently only 1 is supported.

◆ channel_axis

uint8_t SimNeuralTensorMapConfig::channel_axis

Field channel axis or SIM_NEURAL_TENSOR_CHANNEL_AXIS_AUTO.

◆ channels_last

bool SimNeuralTensorMapConfig::channels_last

Tensor layout convention: NHWC-style when true, NCHW-style when false.

◆ complex_mode

SimNeuralTensorComplexMode SimNeuralTensorMapConfig::complex_mode

Complex encoding policy for complex fields.


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