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

Public Member Functions

void print (::mlir::AsmPrinter &odsPrinter) const
 
int64_t getInputBatchDimension () const
 
int64_t getInputFeatureDimension () const
 
::llvm::ArrayRef< int64_t > getInputSpatialDimensions () const
 
int64_t getKernelOutputFeatureDimension () const
 
int64_t getKernelInputFeatureDimension () const
 
::llvm::ArrayRef< int64_t > getKernelSpatialDimensions () const
 
int64_t getOutputBatchDimension () const
 
int64_t getOutputFeatureDimension () const
 
::llvm::ArrayRef< int64_t > getOutputSpatialDimensions () const
 

Static Public Member Functions

static ConvolutionLayoutAttr get (::mlir::MLIRContext *context, int64_t inputBatchDimension, int64_t inputFeatureDimension, ::llvm::ArrayRef< int64_t > inputSpatialDimensions, int64_t kernelOutputFeatureDimension, int64_t kernelInputFeatureDimension, ::llvm::ArrayRef< int64_t > kernelSpatialDimensions, int64_t outputBatchDimension, int64_t outputFeatureDimension, ::llvm::ArrayRef< int64_t > outputSpatialDimensions)
 
static constexpr ::llvm::StringLiteral getMnemonic ()
 
::mlir::Attribute parse (::mlir::AsmParser &odsParser, ::mlir::Type odsType)
 

Static Public Attributes

static constexpr ::llvm::StringLiteral name = "ttir.convolution_layout"
 
static constexpr ::llvm::StringLiteral dialectName = "ttir"
 

Member Function Documentation

◆ get()

ConvolutionLayoutAttr mlir::tt::ttir::ConvolutionLayoutAttr::get ( ::mlir::MLIRContext *  context,
int64_t  inputBatchDimension,
int64_t  inputFeatureDimension,
::llvm::ArrayRef< int64_t >  inputSpatialDimensions,
int64_t  kernelOutputFeatureDimension,
int64_t  kernelInputFeatureDimension,
::llvm::ArrayRef< int64_t >  kernelSpatialDimensions,
int64_t  outputBatchDimension,
int64_t  outputFeatureDimension,
::llvm::ArrayRef< int64_t >  outputSpatialDimensions 
)
static

◆ getInputBatchDimension()

int64_t mlir::tt::ttir::ConvolutionLayoutAttr::getInputBatchDimension ( ) const

◆ getInputFeatureDimension()

int64_t mlir::tt::ttir::ConvolutionLayoutAttr::getInputFeatureDimension ( ) const

◆ getInputSpatialDimensions()

llvm::ArrayRef< int64_t > mlir::tt::ttir::ConvolutionLayoutAttr::getInputSpatialDimensions ( ) const

◆ getKernelInputFeatureDimension()

int64_t mlir::tt::ttir::ConvolutionLayoutAttr::getKernelInputFeatureDimension ( ) const

◆ getKernelOutputFeatureDimension()

int64_t mlir::tt::ttir::ConvolutionLayoutAttr::getKernelOutputFeatureDimension ( ) const

◆ getKernelSpatialDimensions()

llvm::ArrayRef< int64_t > mlir::tt::ttir::ConvolutionLayoutAttr::getKernelSpatialDimensions ( ) const

◆ getMnemonic()

static constexpr ::llvm::StringLiteral mlir::tt::ttir::ConvolutionLayoutAttr::getMnemonic ( )
inlinestatic

◆ getOutputBatchDimension()

int64_t mlir::tt::ttir::ConvolutionLayoutAttr::getOutputBatchDimension ( ) const

◆ getOutputFeatureDimension()

int64_t mlir::tt::ttir::ConvolutionLayoutAttr::getOutputFeatureDimension ( ) const

◆ getOutputSpatialDimensions()

llvm::ArrayRef< int64_t > mlir::tt::ttir::ConvolutionLayoutAttr::getOutputSpatialDimensions ( ) const

◆ parse()

mlir::Attribute mlir::tt::ttir::ConvolutionLayoutAttr::parse ( ::mlir::AsmParser &  odsParser,
::mlir::Type  odsType 
)
static

◆ print()

void mlir::tt::ttir::ConvolutionLayoutAttr::print ( ::mlir::AsmPrinter &  odsPrinter) const

Member Data Documentation

◆ dialectName

constexpr ::llvm::StringLiteral mlir::tt::ttir::ConvolutionLayoutAttr::dialectName = "ttir"
static

◆ name

constexpr ::llvm::StringLiteral mlir::tt::ttir::ConvolutionLayoutAttr::name = "ttir.convolution_layout"
static

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