tvm
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
tvm::PrimTypeObj Class Referencefinal

Primitive data types used in the low-level IR. More...

#include <type.h>

Inheritance diagram for tvm::PrimTypeObj:
Collaboration diagram for tvm::PrimTypeObj:

Public Member Functions

 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("ir.PrimType", PrimTypeObj, TypeObj)
 
- Public Member Functions inherited from tvm::TypeObj
 TVM_FFI_DECLARE_OBJECT_INFO ("ir.Type", TypeObj, ffi::Object)
 

Static Public Member Functions

static void RegisterReflection ()
 
- Static Public Member Functions inherited from tvm::TypeObj
static void RegisterReflection ()
 

Public Attributes

DLDataType dtype
 The raw DLPack dtype represented by this primitive type.
 
- Public Attributes inherited from tvm::TypeObj
Location loc = UnknownLoc()
 Location that points to the original source code. Reserved debug information.
 

Additional Inherited Members

- Static Public Attributes inherited from tvm::TypeObj
static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
 
static constexpr bool _type_s_eq_hash_subclass_kind_fixed = true
 
static constexpr const uint32_t _type_child_slots = 14
 

Detailed Description

Primitive data types used in the low-level IR.

PrimType represents primitive POD values and the void sentinel.

See also
PrimType

Member Function Documentation

◆ RegisterReflection()

static void tvm::PrimTypeObj::RegisterReflection ( )
inlinestatic

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::PrimTypeObj::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "ir.PrimType"  ,
PrimTypeObj  ,
TypeObj   
)

Member Data Documentation

◆ dtype

DLDataType tvm::PrimTypeObj::dtype

The raw DLPack dtype represented by this primitive type.


The documentation for this class was generated from the following file: