tvm_ffi::collections

Module tensor

Source

Structs§

  • Example CPU NDAllocator This allocator allocates data on the CPU
  • ABI stable owned Shape for ffi
  • A non-owning view of a tensor: a pointer to a DLTensor.

Traits§

  • DLTensorExt trait This trait provides methods to get the number of elements and the item size of a DLTensor
  • Trait for n-dimensional array allocators