Class TypeObj#
Defined in File type.h
Inheritance Relationships#
Base Type#
public ffi::Object
Derived Types#
public tvm::AnyTypeObj(Class AnyTypeObj)public tvm::FuncTypeObj(Class FuncTypeObj)public tvm::MissingTypeObj(Class MissingTypeObj)public tvm::NoneTypeObj(Class NoneTypeObj)public tvm::OpaqueTypeObj(Class OpaqueTypeObj)public tvm::PrimTypeObj(Class PrimTypeObj)public tvm::PtrTypeObj(Class PtrTypeObj)public tvm::StringTypeObj(Class StringTypeObj)public tvm::TensorRegionTypeObj(Class TensorRegionTypeObj)public tvm::TupleTypeObj(Class TupleTypeObj)public tvm::tirx::TensorMapTypeObj(Class TensorMapTypeObj)public tvm::tirx::TensorTypeObj(Class TensorTypeObj)
Class Documentation#
-
class TypeObj : public ffi::Object#
Type is the base type of all types.
TVM’s type system contains following subclasses:
PrimType: type of primitive type values used in the low-level IR.
FuncType: type of a function.
TensorType: type of certain Tensor values in the expression.
There are also advanced types to support generic(polymorphic types).
See also
Subclassed by tvm::AnyTypeObj, tvm::FuncTypeObj, tvm::MissingTypeObj, tvm::NoneTypeObj, tvm::OpaqueTypeObj, tvm::PrimTypeObj, tvm::PtrTypeObj, tvm::StringTypeObj, tvm::TensorRegionTypeObj, tvm::TupleTypeObj, tvm::tirx::TensorMapTypeObj, tvm::tirx::TensorTypeObj
Public Members
-
mutable Location loc = UnknownLoc()#
Location that points to the original source code. Reserved debug information.