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

Public Types

using Adaptor = MaxPool2dOpAdaptor
 
template<typename RangeT >
using GenericAdaptor = MaxPool2dOpGenericAdaptor< RangeT >
 
using FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute > >
 
using Properties = FoldAdaptor::Properties
 

Public Member Functions

static ::llvm::ArrayRef<::llvm::StringRef > getAttributeNames ()
 
::mlir::StringAttr getBatchSizeAttrName ()
 
::mlir::StringAttr getCeilModeAttrName ()
 
::mlir::StringAttr getChannelsAttrName ()
 
::mlir::StringAttr getDilationHeightAttrName ()
 
::mlir::StringAttr getDilationWidthAttrName ()
 
::mlir::StringAttr getInputHeightAttrName ()
 
::mlir::StringAttr getInputWidthAttrName ()
 
::mlir::StringAttr getKernelHeightAttrName ()
 
::mlir::StringAttr getKernelWidthAttrName ()
 
::mlir::StringAttr getPaddingHeightAttrName ()
 
::mlir::StringAttr getPaddingWidthAttrName ()
 
::mlir::StringAttr getStrideHeightAttrName ()
 
::mlir::StringAttr getStrideWidthAttrName ()
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
 
::mlir::Operation::operand_range getODSOperands (unsigned index)
 
::mlir::TypedValue<::mlir::RankedTensorType > getInput ()
 
::mlir::TypedValue<::mlir::RankedTensorType > getOutput ()
 
::mlir::TypedValue<::mlir::tt::DeviceTypegetDevice ()
 
::mlir::OpOperand & getInputMutable ()
 
::mlir::OpOperand & getOutputMutable ()
 
::mlir::OpOperand & getDeviceMutable ()
 
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
 
::mlir::Operation::result_range getODSResults (unsigned index)
 
::mlir::TypedValue<::mlir::RankedTensorType > getResult ()
 
void writeProperties (::mlir::DialectBytecodeWriter &writer)
 
::mlir::IntegerAttr getBatchSizeAttr ()
 
int32_t getBatchSize ()
 
::mlir::IntegerAttr getInputHeightAttr ()
 
int32_t getInputHeight ()
 
::mlir::IntegerAttr getInputWidthAttr ()
 
int32_t getInputWidth ()
 
::mlir::IntegerAttr getChannelsAttr ()
 
int32_t getChannels ()
 
::mlir::IntegerAttr getKernelHeightAttr ()
 
int32_t getKernelHeight ()
 
::mlir::IntegerAttr getKernelWidthAttr ()
 
int32_t getKernelWidth ()
 
::mlir::IntegerAttr getStrideHeightAttr ()
 
int32_t getStrideHeight ()
 
::mlir::IntegerAttr getStrideWidthAttr ()
 
int32_t getStrideWidth ()
 
::mlir::IntegerAttr getDilationHeightAttr ()
 
int32_t getDilationHeight ()
 
::mlir::IntegerAttr getDilationWidthAttr ()
 
int32_t getDilationWidth ()
 
::mlir::BoolAttr getCeilModeAttr ()
 
bool getCeilMode ()
 
::mlir::IntegerAttr getPaddingHeightAttr ()
 
int32_t getPaddingHeight ()
 
::mlir::IntegerAttr getPaddingWidthAttr ()
 
int32_t getPaddingWidth ()
 
void setBatchSizeAttr (::mlir::IntegerAttr attr)
 
void setBatchSize (int32_t attrValue)
 
void setInputHeightAttr (::mlir::IntegerAttr attr)
 
void setInputHeight (int32_t attrValue)
 
void setInputWidthAttr (::mlir::IntegerAttr attr)
 
void setInputWidth (int32_t attrValue)
 
void setChannelsAttr (::mlir::IntegerAttr attr)
 
void setChannels (int32_t attrValue)
 
void setKernelHeightAttr (::mlir::IntegerAttr attr)
 
void setKernelHeight (int32_t attrValue)
 
void setKernelWidthAttr (::mlir::IntegerAttr attr)
 
void setKernelWidth (int32_t attrValue)
 
void setStrideHeightAttr (::mlir::IntegerAttr attr)
 
void setStrideHeight (int32_t attrValue)
 
void setStrideWidthAttr (::mlir::IntegerAttr attr)
 
void setStrideWidth (int32_t attrValue)
 
void setDilationHeightAttr (::mlir::IntegerAttr attr)
 
void setDilationHeight (int32_t attrValue)
 
void setDilationWidthAttr (::mlir::IntegerAttr attr)
 
void setDilationWidth (int32_t attrValue)
 
void setCeilModeAttr (::mlir::BoolAttr attr)
 
void setCeilMode (bool attrValue)
 
void setPaddingHeightAttr (::mlir::IntegerAttr attr)
 
void setPaddingHeight (int32_t attrValue)
 
void setPaddingWidthAttr (::mlir::IntegerAttr attr)
 
void setPaddingWidth (int32_t attrValue)
 
::llvm::LogicalResult verifyInvariantsImpl ()
 
::llvm::LogicalResult verifyInvariants ()
 
::llvm::LogicalResult verify ()
 
MutableOperandRange getDpsInitsMutable ()
 

Static Public Member Functions

::mlir::StringAttr getBatchSizeAttrName (::mlir::OperationName name)
 
::mlir::StringAttr getCeilModeAttrName (::mlir::OperationName name)
 
::mlir::StringAttr getChannelsAttrName (::mlir::OperationName name)
 
::mlir::StringAttr getDilationHeightAttrName (::mlir::OperationName name)
 
::mlir::StringAttr getDilationWidthAttrName (::mlir::OperationName name)
 
::mlir::StringAttr getInputHeightAttrName (::mlir::OperationName name)
 
::mlir::StringAttr getInputWidthAttrName (::mlir::OperationName name)
 
::mlir::StringAttr getKernelHeightAttrName (::mlir::OperationName name)
 
::mlir::StringAttr getKernelWidthAttrName (::mlir::OperationName name)
 
::mlir::StringAttr getPaddingHeightAttrName (::mlir::OperationName name)
 
::mlir::StringAttr getPaddingWidthAttrName (::mlir::OperationName name)
 
::mlir::StringAttr getStrideHeightAttrName (::mlir::OperationName name)
 
::mlir::StringAttr getStrideWidthAttrName (::mlir::OperationName name)
 
static constexpr ::llvm::StringLiteral getOperationName ()
 
::llvm::LogicalResult setPropertiesFromAttr (Properties &prop, ::mlir::Attribute attr, ::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
 
::mlir::Attribute getPropertiesAsAttr (::mlir::MLIRContext *ctx, const Properties &prop)
 
static llvm::hash_code computePropertiesHash (const Properties &prop)
 
static std::optional< mlir::Attribute > getInherentAttr (::mlir::MLIRContext *ctx, const Properties &prop, llvm::StringRef name)
 
static void setInherentAttr (Properties &prop, llvm::StringRef name, mlir::Attribute value)
 
static void populateInherentAttrs (::mlir::MLIRContext *ctx, const Properties &prop, ::mlir::NamedAttrList &attrs)
 
::llvm::LogicalResult verifyInherentAttrs (::mlir::OperationName opName, ::mlir::NamedAttrList &attrs, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
 
::llvm::LogicalResult readProperties (::mlir::DialectBytecodeReader &reader, ::mlir::OperationState &state)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result, ::mlir::Value input, ::mlir::Value output, ::mlir::Value device, ::mlir::IntegerAttr batch_size, ::mlir::IntegerAttr input_height, ::mlir::IntegerAttr input_width, ::mlir::IntegerAttr channels, ::mlir::IntegerAttr kernel_height, ::mlir::IntegerAttr kernel_width, ::mlir::IntegerAttr stride_height, ::mlir::IntegerAttr stride_width, ::mlir::IntegerAttr dilation_height, ::mlir::IntegerAttr dilation_width, ::mlir::BoolAttr ceil_mode, ::mlir::IntegerAttr padding_height, ::mlir::IntegerAttr padding_width)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value input, ::mlir::Value output, ::mlir::Value device, ::mlir::IntegerAttr batch_size, ::mlir::IntegerAttr input_height, ::mlir::IntegerAttr input_width, ::mlir::IntegerAttr channels, ::mlir::IntegerAttr kernel_height, ::mlir::IntegerAttr kernel_width, ::mlir::IntegerAttr stride_height, ::mlir::IntegerAttr stride_width, ::mlir::IntegerAttr dilation_height, ::mlir::IntegerAttr dilation_width, ::mlir::BoolAttr ceil_mode, ::mlir::IntegerAttr padding_height, ::mlir::IntegerAttr padding_width)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result, ::mlir::Value input, ::mlir::Value output, ::mlir::Value device, int32_t batch_size, int32_t input_height, int32_t input_width, int32_t channels, int32_t kernel_height, int32_t kernel_width, int32_t stride_height, int32_t stride_width, int32_t dilation_height, int32_t dilation_width, bool ceil_mode, int32_t padding_height, int32_t padding_width)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value input, ::mlir::Value output, ::mlir::Value device, int32_t batch_size, int32_t input_height, int32_t input_width, int32_t channels, int32_t kernel_height, int32_t kernel_width, int32_t stride_height, int32_t stride_width, int32_t dilation_height, int32_t dilation_width, bool ceil_mode, int32_t padding_height, int32_t padding_width)
 
static void build (::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
 

Private Member Functions

::mlir::StringAttr getAttributeNameForIndex (unsigned index)
 

Static Private Member Functions

::mlir::StringAttr getAttributeNameForIndex (::mlir::OperationName name, unsigned index)
 

Member Typedef Documentation

◆ Adaptor

◆ FoldAdaptor

using mlir::tt::ttnn::MaxPool2dOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute> >

◆ GenericAdaptor

template<typename RangeT >
using mlir::tt::ttnn::MaxPool2dOp::GenericAdaptor = MaxPool2dOpGenericAdaptor<RangeT>

◆ Properties

Member Function Documentation

◆ build() [1/5]

void mlir::tt::ttnn::MaxPool2dOp::build ( ::mlir::OpBuilder &  ,
::mlir::OperationState &  odsState,
::mlir::TypeRange  resultTypes,
::mlir::ValueRange  operands,
::llvm::ArrayRef<::mlir::NamedAttribute >  attributes = {} 
)
static

◆ build() [2/5]

void mlir::tt::ttnn::MaxPool2dOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::Type  result,
::mlir::Value  input,
::mlir::Value  output,
::mlir::Value  device,
::mlir::IntegerAttr  batch_size,
::mlir::IntegerAttr  input_height,
::mlir::IntegerAttr  input_width,
::mlir::IntegerAttr  channels,
::mlir::IntegerAttr  kernel_height,
::mlir::IntegerAttr  kernel_width,
::mlir::IntegerAttr  stride_height,
::mlir::IntegerAttr  stride_width,
::mlir::IntegerAttr  dilation_height,
::mlir::IntegerAttr  dilation_width,
::mlir::BoolAttr  ceil_mode,
::mlir::IntegerAttr  padding_height,
::mlir::IntegerAttr  padding_width 
)
static

◆ build() [3/5]

void mlir::tt::ttnn::MaxPool2dOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::Type  result,
::mlir::Value  input,
::mlir::Value  output,
::mlir::Value  device,
int32_t  batch_size,
int32_t  input_height,
int32_t  input_width,
int32_t  channels,
int32_t  kernel_height,
int32_t  kernel_width,
int32_t  stride_height,
int32_t  stride_width,
int32_t  dilation_height,
int32_t  dilation_width,
bool  ceil_mode,
int32_t  padding_height,
int32_t  padding_width 
)
static

◆ build() [4/5]

void mlir::tt::ttnn::MaxPool2dOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::TypeRange  resultTypes,
::mlir::Value  input,
::mlir::Value  output,
::mlir::Value  device,
::mlir::IntegerAttr  batch_size,
::mlir::IntegerAttr  input_height,
::mlir::IntegerAttr  input_width,
::mlir::IntegerAttr  channels,
::mlir::IntegerAttr  kernel_height,
::mlir::IntegerAttr  kernel_width,
::mlir::IntegerAttr  stride_height,
::mlir::IntegerAttr  stride_width,
::mlir::IntegerAttr  dilation_height,
::mlir::IntegerAttr  dilation_width,
::mlir::BoolAttr  ceil_mode,
::mlir::IntegerAttr  padding_height,
::mlir::IntegerAttr  padding_width 
)
static

◆ build() [5/5]

void mlir::tt::ttnn::MaxPool2dOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::TypeRange  resultTypes,
::mlir::Value  input,
::mlir::Value  output,
::mlir::Value  device,
int32_t  batch_size,
int32_t  input_height,
int32_t  input_width,
int32_t  channels,
int32_t  kernel_height,
int32_t  kernel_width,
int32_t  stride_height,
int32_t  stride_width,
int32_t  dilation_height,
int32_t  dilation_width,
bool  ceil_mode,
int32_t  padding_height,
int32_t  padding_width 
)
static

◆ computePropertiesHash()

llvm::hash_code mlir::tt::ttnn::MaxPool2dOp::computePropertiesHash ( const Properties prop)
static

◆ getAttributeNameForIndex() [1/2]

::mlir::StringAttr mlir::tt::ttnn::MaxPool2dOp::getAttributeNameForIndex ( ::mlir::OperationName  name,
unsigned  index 
)
inlinestaticprivate

◆ getAttributeNameForIndex() [2/2]

::mlir::StringAttr mlir::tt::ttnn::MaxPool2dOp::getAttributeNameForIndex ( unsigned  index)
inlineprivate

◆ getAttributeNames()

static ::llvm::ArrayRef<::llvm::StringRef> mlir::tt::ttnn::MaxPool2dOp::getAttributeNames ( )
inline

◆ getBatchSize()

int32_t mlir::tt::ttnn::MaxPool2dOp::getBatchSize ( )

◆ getBatchSizeAttr()

::mlir::IntegerAttr mlir::tt::ttnn::MaxPool2dOp::getBatchSizeAttr ( )
inline

◆ getBatchSizeAttrName() [1/2]

::mlir::StringAttr mlir::tt::ttnn::MaxPool2dOp::getBatchSizeAttrName ( )
inline

◆ getBatchSizeAttrName() [2/2]

::mlir::StringAttr mlir::tt::ttnn::MaxPool2dOp::getBatchSizeAttrName ( ::mlir::OperationName  name)
inlinestatic

◆ getCeilMode()

bool mlir::tt::ttnn::MaxPool2dOp::getCeilMode ( )

◆ getCeilModeAttr()

::mlir::BoolAttr mlir::tt::ttnn::MaxPool2dOp::getCeilModeAttr ( )
inline

◆ getCeilModeAttrName() [1/2]

::mlir::StringAttr mlir::tt::ttnn::MaxPool2dOp::getCeilModeAttrName ( )
inline

◆ getCeilModeAttrName() [2/2]

::mlir::StringAttr mlir::tt::ttnn::MaxPool2dOp::getCeilModeAttrName ( ::mlir::OperationName  name)
inlinestatic

◆ getChannels()

int32_t mlir::tt::ttnn::MaxPool2dOp::getChannels ( )

◆ getChannelsAttr()

::mlir::IntegerAttr mlir::tt::ttnn::MaxPool2dOp::getChannelsAttr ( )
inline

◆ getChannelsAttrName() [1/2]

::mlir::StringAttr mlir::tt::ttnn::MaxPool2dOp::getChannelsAttrName ( )
inline

◆ getChannelsAttrName() [2/2]

::mlir::StringAttr mlir::tt::ttnn::MaxPool2dOp::getChannelsAttrName ( ::mlir::OperationName  name)
inlinestatic

◆ getDevice()

::mlir::TypedValue<::mlir::tt::DeviceType> mlir::tt::ttnn::MaxPool2dOp::getDevice ( )
inline

◆ getDeviceMutable()

::mlir::OpOperand& mlir::tt::ttnn::MaxPool2dOp::getDeviceMutable ( )
inline

◆ getDilationHeight()

int32_t mlir::tt::ttnn::MaxPool2dOp::getDilationHeight ( )

◆ getDilationHeightAttr()

::mlir::IntegerAttr mlir::tt::ttnn::MaxPool2dOp::getDilationHeightAttr ( )
inline

◆ getDilationHeightAttrName() [1/2]

::mlir::StringAttr mlir::tt::ttnn::MaxPool2dOp::getDilationHeightAttrName ( )
inline

◆ getDilationHeightAttrName() [2/2]

::mlir::StringAttr mlir::tt::ttnn::MaxPool2dOp::getDilationHeightAttrName ( ::mlir::OperationName  name)
inlinestatic

◆ getDilationWidth()

int32_t mlir::tt::ttnn::MaxPool2dOp::getDilationWidth ( )

◆ getDilationWidthAttr()

::mlir::IntegerAttr mlir::tt::ttnn::MaxPool2dOp::getDilationWidthAttr ( )
inline

◆ getDilationWidthAttrName() [1/2]

::mlir::StringAttr mlir::tt::ttnn::MaxPool2dOp::getDilationWidthAttrName ( )
inline

◆ getDilationWidthAttrName() [2/2]

::mlir::StringAttr mlir::tt::ttnn::MaxPool2dOp::getDilationWidthAttrName ( ::mlir::OperationName  name)
inlinestatic

◆ getDpsInitsMutable()

MutableOperandRange mlir::tt::ttnn::MaxPool2dOp::getDpsInitsMutable ( )
inline

◆ getInherentAttr()

std::optional< mlir::Attribute > mlir::tt::ttnn::MaxPool2dOp::getInherentAttr ( ::mlir::MLIRContext *  ctx,
const Properties prop,
llvm::StringRef  name 
)
static

◆ getInput()

::mlir::TypedValue<::mlir::RankedTensorType> mlir::tt::ttnn::MaxPool2dOp::getInput ( )
inline

◆ getInputHeight()

int32_t mlir::tt::ttnn::MaxPool2dOp::getInputHeight ( )

◆ getInputHeightAttr()

::mlir::IntegerAttr mlir::tt::ttnn::MaxPool2dOp::getInputHeightAttr ( )
inline

◆ getInputHeightAttrName() [1/2]

::mlir::StringAttr mlir::tt::ttnn::MaxPool2dOp::getInputHeightAttrName ( )
inline

◆ getInputHeightAttrName() [2/2]

::mlir::StringAttr mlir::tt::ttnn::MaxPool2dOp::getInputHeightAttrName ( ::mlir::OperationName  name)
inlinestatic

◆ getInputMutable()

::mlir::OpOperand& mlir::tt::ttnn::MaxPool2dOp::getInputMutable ( )
inline

◆ getInputWidth()

int32_t mlir::tt::ttnn::MaxPool2dOp::getInputWidth ( )

◆ getInputWidthAttr()

::mlir::IntegerAttr mlir::tt::ttnn::MaxPool2dOp::getInputWidthAttr ( )
inline

◆ getInputWidthAttrName() [1/2]

::mlir::StringAttr mlir::tt::ttnn::MaxPool2dOp::getInputWidthAttrName ( )
inline

◆ getInputWidthAttrName() [2/2]

::mlir::StringAttr mlir::tt::ttnn::MaxPool2dOp::getInputWidthAttrName ( ::mlir::OperationName  name)
inlinestatic

◆ getKernelHeight()

int32_t mlir::tt::ttnn::MaxPool2dOp::getKernelHeight ( )

◆ getKernelHeightAttr()

::mlir::IntegerAttr mlir::tt::ttnn::MaxPool2dOp::getKernelHeightAttr ( )
inline

◆ getKernelHeightAttrName() [1/2]

::mlir::StringAttr mlir::tt::ttnn::MaxPool2dOp::getKernelHeightAttrName ( )
inline

◆ getKernelHeightAttrName() [2/2]

::mlir::StringAttr mlir::tt::ttnn::MaxPool2dOp::getKernelHeightAttrName ( ::mlir::OperationName  name)
inlinestatic

◆ getKernelWidth()

int32_t mlir::tt::ttnn::MaxPool2dOp::getKernelWidth ( )

◆ getKernelWidthAttr()

::mlir::IntegerAttr mlir::tt::ttnn::MaxPool2dOp::getKernelWidthAttr ( )
inline

◆ getKernelWidthAttrName() [1/2]

::mlir::StringAttr mlir::tt::ttnn::MaxPool2dOp::getKernelWidthAttrName ( )
inline

◆ getKernelWidthAttrName() [2/2]

::mlir::StringAttr mlir::tt::ttnn::MaxPool2dOp::getKernelWidthAttrName ( ::mlir::OperationName  name)
inlinestatic

◆ getODSOperandIndexAndLength()

std::pair<unsigned, unsigned> mlir::tt::ttnn::MaxPool2dOp::getODSOperandIndexAndLength ( unsigned  index)
inline

◆ getODSOperands()

::mlir::Operation::operand_range mlir::tt::ttnn::MaxPool2dOp::getODSOperands ( unsigned  index)
inline

◆ getODSResultIndexAndLength()

std::pair<unsigned, unsigned> mlir::tt::ttnn::MaxPool2dOp::getODSResultIndexAndLength ( unsigned  index)
inline

◆ getODSResults()

::mlir::Operation::result_range mlir::tt::ttnn::MaxPool2dOp::getODSResults ( unsigned  index)
inline

◆ getOperationName()

static constexpr ::llvm::StringLiteral mlir::tt::ttnn::MaxPool2dOp::getOperationName ( )
inlinestatic

◆ getOutput()

::mlir::TypedValue<::mlir::RankedTensorType> mlir::tt::ttnn::MaxPool2dOp::getOutput ( )
inline

◆ getOutputMutable()

::mlir::OpOperand& mlir::tt::ttnn::MaxPool2dOp::getOutputMutable ( )
inline

◆ getPaddingHeight()

int32_t mlir::tt::ttnn::MaxPool2dOp::getPaddingHeight ( )

◆ getPaddingHeightAttr()

::mlir::IntegerAttr mlir::tt::ttnn::MaxPool2dOp::getPaddingHeightAttr ( )
inline

◆ getPaddingHeightAttrName() [1/2]

::mlir::StringAttr mlir::tt::ttnn::MaxPool2dOp::getPaddingHeightAttrName ( )
inline

◆ getPaddingHeightAttrName() [2/2]

::mlir::StringAttr mlir::tt::ttnn::MaxPool2dOp::getPaddingHeightAttrName ( ::mlir::OperationName  name)
inlinestatic

◆ getPaddingWidth()

int32_t mlir::tt::ttnn::MaxPool2dOp::getPaddingWidth ( )

◆ getPaddingWidthAttr()

::mlir::IntegerAttr mlir::tt::ttnn::MaxPool2dOp::getPaddingWidthAttr ( )
inline

◆ getPaddingWidthAttrName() [1/2]

::mlir::StringAttr mlir::tt::ttnn::MaxPool2dOp::getPaddingWidthAttrName ( )
inline

◆ getPaddingWidthAttrName() [2/2]

::mlir::StringAttr mlir::tt::ttnn::MaxPool2dOp::getPaddingWidthAttrName ( ::mlir::OperationName  name)
inlinestatic

◆ getPropertiesAsAttr()

mlir::Attribute mlir::tt::ttnn::MaxPool2dOp::getPropertiesAsAttr ( ::mlir::MLIRContext *  ctx,
const Properties prop 
)
static

◆ getResult()

::mlir::TypedValue<::mlir::RankedTensorType> mlir::tt::ttnn::MaxPool2dOp::getResult ( )
inline

◆ getStrideHeight()

int32_t mlir::tt::ttnn::MaxPool2dOp::getStrideHeight ( )

◆ getStrideHeightAttr()

::mlir::IntegerAttr mlir::tt::ttnn::MaxPool2dOp::getStrideHeightAttr ( )
inline

◆ getStrideHeightAttrName() [1/2]

::mlir::StringAttr mlir::tt::ttnn::MaxPool2dOp::getStrideHeightAttrName ( )
inline

◆ getStrideHeightAttrName() [2/2]

::mlir::StringAttr mlir::tt::ttnn::MaxPool2dOp::getStrideHeightAttrName ( ::mlir::OperationName  name)
inlinestatic

◆ getStrideWidth()

int32_t mlir::tt::ttnn::MaxPool2dOp::getStrideWidth ( )

◆ getStrideWidthAttr()

::mlir::IntegerAttr mlir::tt::ttnn::MaxPool2dOp::getStrideWidthAttr ( )
inline

◆ getStrideWidthAttrName() [1/2]

::mlir::StringAttr mlir::tt::ttnn::MaxPool2dOp::getStrideWidthAttrName ( )
inline

◆ getStrideWidthAttrName() [2/2]

::mlir::StringAttr mlir::tt::ttnn::MaxPool2dOp::getStrideWidthAttrName ( ::mlir::OperationName  name)
inlinestatic

◆ populateInherentAttrs()

void mlir::tt::ttnn::MaxPool2dOp::populateInherentAttrs ( ::mlir::MLIRContext *  ctx,
const Properties prop,
::mlir::NamedAttrList &  attrs 
)
static

◆ readProperties()

llvm::LogicalResult mlir::tt::ttnn::MaxPool2dOp::readProperties ( ::mlir::DialectBytecodeReader &  reader,
::mlir::OperationState &  state 
)
static

◆ setBatchSize()

void mlir::tt::ttnn::MaxPool2dOp::setBatchSize ( int32_t  attrValue)

◆ setBatchSizeAttr()

void mlir::tt::ttnn::MaxPool2dOp::setBatchSizeAttr ( ::mlir::IntegerAttr  attr)
inline

◆ setCeilMode()

void mlir::tt::ttnn::MaxPool2dOp::setCeilMode ( bool  attrValue)

◆ setCeilModeAttr()

void mlir::tt::ttnn::MaxPool2dOp::setCeilModeAttr ( ::mlir::BoolAttr  attr)
inline

◆ setChannels()

void mlir::tt::ttnn::MaxPool2dOp::setChannels ( int32_t  attrValue)

◆ setChannelsAttr()

void mlir::tt::ttnn::MaxPool2dOp::setChannelsAttr ( ::mlir::IntegerAttr  attr)
inline

◆ setDilationHeight()

void mlir::tt::ttnn::MaxPool2dOp::setDilationHeight ( int32_t  attrValue)

◆ setDilationHeightAttr()

void mlir::tt::ttnn::MaxPool2dOp::setDilationHeightAttr ( ::mlir::IntegerAttr  attr)
inline

◆ setDilationWidth()

void mlir::tt::ttnn::MaxPool2dOp::setDilationWidth ( int32_t  attrValue)

◆ setDilationWidthAttr()

void mlir::tt::ttnn::MaxPool2dOp::setDilationWidthAttr ( ::mlir::IntegerAttr  attr)
inline

◆ setInherentAttr()

void mlir::tt::ttnn::MaxPool2dOp::setInherentAttr ( Properties prop,
llvm::StringRef  name,
mlir::Attribute  value 
)
static

◆ setInputHeight()

void mlir::tt::ttnn::MaxPool2dOp::setInputHeight ( int32_t  attrValue)

◆ setInputHeightAttr()

void mlir::tt::ttnn::MaxPool2dOp::setInputHeightAttr ( ::mlir::IntegerAttr  attr)
inline

◆ setInputWidth()

void mlir::tt::ttnn::MaxPool2dOp::setInputWidth ( int32_t  attrValue)

◆ setInputWidthAttr()

void mlir::tt::ttnn::MaxPool2dOp::setInputWidthAttr ( ::mlir::IntegerAttr  attr)
inline

◆ setKernelHeight()

void mlir::tt::ttnn::MaxPool2dOp::setKernelHeight ( int32_t  attrValue)

◆ setKernelHeightAttr()

void mlir::tt::ttnn::MaxPool2dOp::setKernelHeightAttr ( ::mlir::IntegerAttr  attr)
inline

◆ setKernelWidth()

void mlir::tt::ttnn::MaxPool2dOp::setKernelWidth ( int32_t  attrValue)

◆ setKernelWidthAttr()

void mlir::tt::ttnn::MaxPool2dOp::setKernelWidthAttr ( ::mlir::IntegerAttr  attr)
inline

◆ setPaddingHeight()

void mlir::tt::ttnn::MaxPool2dOp::setPaddingHeight ( int32_t  attrValue)

◆ setPaddingHeightAttr()

void mlir::tt::ttnn::MaxPool2dOp::setPaddingHeightAttr ( ::mlir::IntegerAttr  attr)
inline

◆ setPaddingWidth()

void mlir::tt::ttnn::MaxPool2dOp::setPaddingWidth ( int32_t  attrValue)

◆ setPaddingWidthAttr()

void mlir::tt::ttnn::MaxPool2dOp::setPaddingWidthAttr ( ::mlir::IntegerAttr  attr)
inline

◆ setPropertiesFromAttr()

llvm::LogicalResult mlir::tt::ttnn::MaxPool2dOp::setPropertiesFromAttr ( Properties prop,
::mlir::Attribute  attr,
::llvm::function_ref<::mlir::InFlightDiagnostic()>  emitError 
)
static

◆ setStrideHeight()

void mlir::tt::ttnn::MaxPool2dOp::setStrideHeight ( int32_t  attrValue)

◆ setStrideHeightAttr()

void mlir::tt::ttnn::MaxPool2dOp::setStrideHeightAttr ( ::mlir::IntegerAttr  attr)
inline

◆ setStrideWidth()

void mlir::tt::ttnn::MaxPool2dOp::setStrideWidth ( int32_t  attrValue)

◆ setStrideWidthAttr()

void mlir::tt::ttnn::MaxPool2dOp::setStrideWidthAttr ( ::mlir::IntegerAttr  attr)
inline

◆ verify()

::llvm::LogicalResult mlir::tt::ttnn::MaxPool2dOp::verify ( )

◆ verifyInherentAttrs()

llvm::LogicalResult mlir::tt::ttnn::MaxPool2dOp::verifyInherentAttrs ( ::mlir::OperationName  opName,
::mlir::NamedAttrList &  attrs,
llvm::function_ref<::mlir::InFlightDiagnostic()>  emitError 
)
static

◆ verifyInvariants()

llvm::LogicalResult mlir::tt::ttnn::MaxPool2dOp::verifyInvariants ( )

◆ verifyInvariantsImpl()

llvm::LogicalResult mlir::tt::ttnn::MaxPool2dOp::verifyInvariantsImpl ( )

◆ writeProperties()

void mlir::tt::ttnn::MaxPool2dOp::writeProperties ( ::mlir::DialectBytecodeWriter &  writer)

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