Skip to main content

Module tensor

Module tensor 

Source

Structs§

Nc1hwc2Layout
Precomputed NC1HWC2 tensor layout for efficient, division-free access.
TensorAttr
Metadata for a single tensor (input or output).

Enums§

QuantType
Quantization method used for a tensor.
TensorFormat
Memory layout of a tensor.
TensorType
Element data type of a tensor.

Functions§

dequantize_affine
Convert raw INT8 values to f32 using affine dequantization.
nc1hwc2_to_flat
Convert NC1HWC2 tensor layout to flat NCHW order.