tvm
|
Attributes for redistribute and annotate_sharding operator. More...
#include <distributed.h>
Public Member Functions | |
TVM_FFI_DECLARE_FINAL_OBJECT_INFO (DistributionAttrs, BaseAttrsNode) | |
![]() | |
void | InitByPackedArgs (const ffi::PackedArgs &args, bool allow_unknown) final |
Initialize the attributes by arguments. More... | |
![]() | |
virtual | ~BaseAttrsNode () |
virtual destructor More... | |
template<typename... Args> | |
void | InitBySeq (Args &&... args) |
Initialize the attributes by sequence of arguments. More... | |
TVM_DECLARE_BASE_OBJECT_INFO (BaseAttrsNode, Object) | |
Static Public Member Functions | |
static void | RegisterReflection () |
Public Attributes | |
distributed::DeviceMesh | device_mesh |
distributed::Placement | placement |
Static Public Attributes | |
static constexpr const char * | _type_key = "relax.attrs.DistributionAttrs" |
![]() | |
static constexpr TVMFFISEqHashKind | _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode |
static constexpr const char * | _type_key = "ir.Attrs" |
Attributes for redistribute and annotate_sharding operator.
|
inlinestatic |
tvm::relax::DistributionAttrs::TVM_FFI_DECLARE_FINAL_OBJECT_INFO | ( | DistributionAttrs | , |
BaseAttrsNode | |||
) |
|
staticconstexpr |
distributed::DeviceMesh tvm::relax::DistributionAttrs::device_mesh |
distributed::Placement tvm::relax::DistributionAttrs::placement |