TT-MLIR
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
mlir::tt::detail::TensorMeshShardingAttrStorage Struct Reference
Inheritance diagram for mlir::tt::detail::TensorMeshShardingAttrStorage:

Public Types

using KeyTy = std::tuple< StringAttr, ::llvm::ArrayRef< TensorMeshShardingAxisAttr > >
 

Public Member Functions

 TensorMeshShardingAttrStorage (StringAttr name, ::llvm::ArrayRef< TensorMeshShardingAxisAttr > tensor_mesh_sharding_axis)
 
KeyTy getAsKey () const
 
bool operator== (const KeyTy &tblgenKey) const
 

Static Public Member Functions

::llvm::hash_code hashKey (const KeyTy &tblgenKey)
 
static TensorMeshShardingAttrStorageconstruct (::mlir::AttributeStorageAllocator &allocator, KeyTy &&tblgenKey)
 

Public Attributes

StringAttr name
 
::llvm::ArrayRef< TensorMeshShardingAxisAttrtensor_mesh_sharding_axis
 

Member Typedef Documentation

◆ KeyTy

using mlir::tt::detail::TensorMeshShardingAttrStorage::KeyTy = std::tuple<StringAttr, ::llvm::ArrayRef<TensorMeshShardingAxisAttr> >

Constructor & Destructor Documentation

◆ TensorMeshShardingAttrStorage()

mlir::tt::detail::TensorMeshShardingAttrStorage::TensorMeshShardingAttrStorage ( StringAttr  name,
::llvm::ArrayRef< TensorMeshShardingAxisAttr tensor_mesh_sharding_axis 
)
inline

Member Function Documentation

◆ construct()

static TensorMeshShardingAttrStorage* mlir::tt::detail::TensorMeshShardingAttrStorage::construct ( ::mlir::AttributeStorageAllocator &  allocator,
KeyTy &&  tblgenKey 
)
inlinestatic

◆ getAsKey()

KeyTy mlir::tt::detail::TensorMeshShardingAttrStorage::getAsKey ( ) const
inline

◆ hashKey()

::llvm::hash_code mlir::tt::detail::TensorMeshShardingAttrStorage::hashKey ( const KeyTy tblgenKey)
inlinestatic

◆ operator==()

bool mlir::tt::detail::TensorMeshShardingAttrStorage::operator== ( const KeyTy tblgenKey) const
inline

Member Data Documentation

◆ name

StringAttr mlir::tt::detail::TensorMeshShardingAttrStorage::name

◆ tensor_mesh_sharding_axis

::llvm::ArrayRef<TensorMeshShardingAxisAttr> mlir::tt::detail::TensorMeshShardingAttrStorage::tensor_mesh_sharding_axis

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