tvm
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
tvm::relax::distributed::DeviceMeshNode Class Reference

#include <global_info.h>

Inheritance diagram for tvm::relax::distributed::DeviceMeshNode:
Collaboration diagram for tvm::relax::distributed::DeviceMeshNode:

Public Member Functions

 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("relax.distributed.DeviceMesh", DeviceMeshNode, GlobalInfoNode)
 
- Public Member Functions inherited from tvm::GlobalInfoNode
 TVM_FFI_DECLARE_OBJECT_INFO ("ir.GlobalInfo", GlobalInfoNode, Object)
 

Static Public Member Functions

static void RegisterReflection ()
 

Public Attributes

ffi::Shape shape
 logical shape of the mesh More...
 
ffi::Array< Integerdevice_ids
 device ids in the mesh More...
 
ffi::Optional< Rangedevice_range
 Optionally use range to represent device_ids. More...
 

Additional Inherited Members

- Static Public Attributes inherited from tvm::GlobalInfoNode
static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
 

Member Function Documentation

◆ RegisterReflection()

static void tvm::relax::distributed::DeviceMeshNode::RegisterReflection ( )
inlinestatic

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::relax::distributed::DeviceMeshNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "relax.distributed.DeviceMesh"  ,
DeviceMeshNode  ,
GlobalInfoNode   
)

Member Data Documentation

◆ device_ids

ffi::Array<Integer> tvm::relax::distributed::DeviceMeshNode::device_ids

device ids in the mesh

◆ device_range

ffi::Optional<Range> tvm::relax::distributed::DeviceMeshNode::device_range

Optionally use range to represent device_ids.

◆ shape

ffi::Shape tvm::relax::distributed::DeviceMeshNode::shape

logical shape of the mesh


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