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

Managed reference to a Placement. More...

#include <struct_info.h>

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

Public Member Functions

 Placement (Array< PlacementSpec > dim_specs)
 
 TVM_DEFINE_OBJECT_REF_METHODS (Placement, ObjectRef, PlacementNode)
 

Static Public Member Functions

static Placement FromText (String text_repr)
 replica dim is printed as "R" and sharding dim is printed as "S[i]".] More...
 

Detailed Description

Managed reference to a Placement.

See also
PlacementNode

Constructor & Destructor Documentation

◆ Placement()

tvm::relax::distributed::Placement::Placement ( Array< PlacementSpec dim_specs)
explicit

Member Function Documentation

◆ FromText()

static Placement tvm::relax::distributed::Placement::FromText ( String  text_repr)
static

replica dim is printed as "R" and sharding dim is printed as "S[i]".]

◆ TVM_DEFINE_OBJECT_REF_METHODS()

tvm::relax::distributed::Placement::TVM_DEFINE_OBJECT_REF_METHODS ( Placement  ,
ObjectRef  ,
PlacementNode   
)

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