tvm_ffi.Tensor#

class tvm_ffi.Tensor#

Bases: Object

Tensor object that represents a managed n-dimensional array.

__init__()#

Methods

__init__()

same_as(other)

Check object identity.

Attributes

device

Device of this Tensor

dtype

Data type of this array

shape

Shape of this array

device#

Device of this Tensor

dtype#

Data type of this array

shape#

Shape of this array