Managed reference to a Placement.
More...
#include <struct_info.h>
|
static Placement | FromText (ffi::String text_repr) |
| replica dim is printed as "R" and sharding dim is printed as "S[i]".] More...
|
|
Managed reference to a Placement.
- See also
- PlacementNode
◆ Placement()
tvm::relax::distributed::Placement::Placement |
( |
ffi::Array< PlacementSpec > |
dim_specs | ) |
|
|
explicit |
◆ FromText()
static Placement tvm::relax::distributed::Placement::FromText |
( |
ffi::String |
text_repr | ) |
|
|
static |
replica dim is printed as "R" and sharding dim is printed as "S[i]".]
◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE()
tvm::relax::distributed::Placement::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE |
( |
Placement |
, |
|
|
ObjectRef |
, |
|
|
PlacementNode |
|
|
) |
| |
The documentation for this class was generated from the following file: