TensorBuffer

The underlying storage for a Tensor.

Tensor elements are stored in a contiguous buffer of a single type.

Variants

  • U8: list of u8
  • U16: list of u16
  • U32: list of u32
  • U64: list of u64
  • I8: list of i8
  • I16: list of i16
  • I32: list of i32
  • I64: list of i64
  • F16: list of f16
  • F32: list of f32
  • F64: list of f64
  • JPEG: list of u8
  • NV12: list of u8
  • YUY2: list of u8

Used by