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

Public Member Functions

void print (::mlir::AsmPrinter &odsPrinter) const
 
::llvm::ArrayRef< int64_t > getShape () const
 

Static Public Member Functions

static ShapeAttr get (::mlir::MLIRContext *context, ::llvm::ArrayRef< int64_t > shape)
 
static constexpr ::llvm::StringLiteral getMnemonic ()
 
::mlir::Attribute parse (::mlir::AsmParser &odsParser, ::mlir::Type odsType)
 

Static Public Attributes

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

Member Function Documentation

◆ get()

ShapeAttr mlir::tt::ttnn::ShapeAttr::get ( ::mlir::MLIRContext *  context,
::llvm::ArrayRef< int64_t >  shape 
)
static

◆ getMnemonic()

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

◆ getShape()

llvm::ArrayRef< int64_t > mlir::tt::ttnn::ShapeAttr::getShape ( ) const

◆ parse()

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

◆ print()

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

Member Data Documentation

◆ dialectName

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

◆ name

constexpr ::llvm::StringLiteral mlir::tt::ttnn::ShapeAttr::name = "ttnn.shape"
static

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