tensor
Classes
AirTensor
AIR tensor representation.
Attributes
quant
property
Quantization parameters, which must be present.
quantization is Optional so a tensor can carry none; kernels that
require quantized inputs read through this view and get a clear error
naming the tensor instead of an attribute access on None.
ctype
property
Return the C type of the tensor.
This is used for generating C code that operates on the tensor. For example, if the tensor is of type int16, the C type will be int16_t.
dtype_alignment_floor
property
Return the alignment floor based on the tensor's dtype.