tvm
Public Member Functions | List of all members
tvm::PrimType Class Reference

#include <type.h>

Inheritance diagram for tvm::PrimType:
Collaboration diagram for tvm::PrimType:

Public Member Functions

 PrimType (runtime::DataType dtype, Span span=Span())
 Constructor. More...
 
 TVM_DEFINE_OBJECT_REF_METHODS (PrimType, Type, PrimTypeNode)
 
- Public Member Functions inherited from tvm::Type
 TVM_DEFINE_OBJECT_REF_METHODS (Type, ObjectRef, TypeNode)
 

Constructor & Destructor Documentation

◆ PrimType()

tvm::PrimType::PrimType ( runtime::DataType  dtype,
Span  span = Span() 
)
explicit

Constructor.

Parameters
dtypeThe corresponding dtype.
spanThe span

Member Function Documentation

◆ TVM_DEFINE_OBJECT_REF_METHODS()

tvm::PrimType::TVM_DEFINE_OBJECT_REF_METHODS ( PrimType  ,
Type  ,
PrimTypeNode   
)

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