TT-MLIR
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
mlir::tt::ttnn::ShardSpecAttr Class Reference
Inheritance diagram for mlir::tt::ttnn::ShardSpecAttr:

Public Member Functions

void print (::mlir::AsmPrinter &odsPrinter) const
 
ShapeAttr getShardShape () const
 

Static Public Member Functions

static ShardSpecAttr get (::mlir::MLIRContext *context, ShapeAttr shardShape)
 
static constexpr ::llvm::StringLiteral getMnemonic ()
 
::mlir::Attribute parse (::mlir::AsmParser &odsParser, ::mlir::Type odsType)
 

Static Public Attributes

static constexpr ::llvm::StringLiteral name = "ttnn.shard_spec"
 
static constexpr ::llvm::StringLiteral dialectName = "ttnn"
 

Member Function Documentation

◆ get()

ShardSpecAttr mlir::tt::ttnn::ShardSpecAttr::get ( ::mlir::MLIRContext *  context,
ShapeAttr  shardShape 
)
static

◆ getMnemonic()

static constexpr ::llvm::StringLiteral mlir::tt::ttnn::ShardSpecAttr::getMnemonic ( )
inlinestatic

◆ getShardShape()

ShapeAttr mlir::tt::ttnn::ShardSpecAttr::getShardShape ( ) const

◆ parse()

mlir::Attribute mlir::tt::ttnn::ShardSpecAttr::parse ( ::mlir::AsmParser &  odsParser,
::mlir::Type  odsType 
)
static

◆ print()

void mlir::tt::ttnn::ShardSpecAttr::print ( ::mlir::AsmPrinter &  odsPrinter) const

Member Data Documentation

◆ dialectName

constexpr ::llvm::StringLiteral mlir::tt::ttnn::ShardSpecAttr::dialectName = "ttnn"
static

◆ name

constexpr ::llvm::StringLiteral mlir::tt::ttnn::ShardSpecAttr::name = "ttnn.shard_spec"
static

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