|
Oakfield API Documentation 1.0.0
Numerical core APIs
|
Canonical tensor view generated from a field. More...
#include <neural_tensor_map.h>
Public Attributes | |
| void * | data |
| SimNeuralTensorValueType | value_type |
| size_t | value_size |
| size_t | rank |
| size_t | shape [SIM_NEURAL_TENSOR_MAX_RANK] |
| size_t | strides [SIM_NEURAL_TENSOR_MAX_RANK] |
| uint8_t | batch_axis |
| uint8_t | channel_axis |
| uint8_t | spatial_rank |
Canonical tensor view generated from a field.
Strides are expressed in logical tensor values (not bytes).
| uint8_t SimNeuralTensorView::batch_axis |
Always 0 in current canonical mapping.
| uint8_t SimNeuralTensorView::channel_axis |
Channel axis in tensor coordinates.
| void* SimNeuralTensorView::data |
Tensor data pointer.
| size_t SimNeuralTensorView::rank |
Tensor rank.
| size_t SimNeuralTensorView::shape[SIM_NEURAL_TENSOR_MAX_RANK] |
Extent per tensor axis.
| uint8_t SimNeuralTensorView::spatial_rank |
Number of spatial dimensions in tensor view.
| size_t SimNeuralTensorView::strides[SIM_NEURAL_TENSOR_MAX_RANK] |
Stride per tensor axis in tensor values.
| size_t SimNeuralTensorView::value_size |
Size of one tensor value in bytes.
| SimNeuralTensorValueType SimNeuralTensorView::value_type |
Value representation.