tvm
Public Types | List of all members
tvm::runtime::TypeIndex Struct Reference

Namespace for the list of type index. More...

#include <object.h>

Collaboration diagram for tvm::runtime::TypeIndex:

Public Types

enum  {
  kRoot = 0 , kRuntimeModule = 1 , kRuntimeNDArray = 2 , kRuntimeString = 3 ,
  kRuntimeArray = 4 , kRuntimeMap = 5 , kRuntimeShapeTuple = 6 , kRuntimePackedFunc = 7 ,
  kRuntimeDiscoDRef = 8 , kRuntimeRPCObjectRef = 9 , kRuntimeClosure , kRuntimeADT ,
  kStaticIndexEnd , kDynamic = kStaticIndexEnd
}
 

Detailed Description

Namespace for the list of type index.

Note
Use struct so that we have to use TypeIndex::ENumName to refer to the constant, but still able to use enum.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kRoot 

Root object type.

kRuntimeModule 

runtime::Module.

kRuntimeNDArray 

runtime::NDArray.

kRuntimeString 

runtime::String.

kRuntimeArray 

runtime::Array.

kRuntimeMap 

runtime::Map.

kRuntimeShapeTuple 

runtime::ShapeTuple.

kRuntimePackedFunc 

runtime::PackedFunc.

kRuntimeDiscoDRef 

runtime::DRef for disco distributed runtime

kRuntimeRPCObjectRef 

runtime::RPCObjectRef

kRuntimeClosure 
kRuntimeADT 
kStaticIndexEnd 
kDynamic 

Type index is allocated during runtime.


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