tvm
|
#include <struct_info.h>
Public Member Functions | |
TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("relax.distributed.Sharding", ShardingNode, PlacementSpecNode) | |
![]() | |
TVM_FFI_DECLARE_OBJECT_INFO ("relax.distributed.PlacementSpec", PlacementSpecNode, Object) | |
Static Public Member Functions | |
static void | RegisterReflection () |
![]() | |
static void | RegisterReflection () |
Public Attributes | |
Integer | sharding_dim |
The dimension of tensor we shard. More... | |
![]() | |
int | axis |
If the kind is sharding, this value represents the tensor dimension to shard. otherwise, axis is -1. More... | |
PlacementSpecKind | kind |
The kind of placement spec. Possible values: kSharding and kReplica. More... | |
Additional Inherited Members | |
![]() | |
static constexpr TVMFFISEqHashKind | _type_s_eq_hash_kind = kTVMFFISEqHashKindConstTreeNode |
|
inlinestatic |
tvm::relax::distributed::ShardingNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL | ( | "relax.distributed.Sharding" | , |
ShardingNode | , | ||
PlacementSpecNode | |||
) |
Integer tvm::relax::distributed::ShardingNode::sharding_dim |
The dimension of tensor we shard.