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 getDilationAttrName ()
 
::mlir::StringAttr getInputHeightAttrName ()
 
::mlir::StringAttr getInputWidthAttrName ()
 
::mlir::StringAttr getKernelSizeAttrName ()
 
::mlir::StringAttr getPaddingAttrName ()
 
::mlir::StringAttr getStrideAttrName ()
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
 
::mlir::Operation::operand_range getODSOperands (unsigned index)
 
::mlir::TypedValue<::mlir::RankedTensorType > getInput ()
 
::mlir::OpOperand & getInputMutable ()
 
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::DenseI32ArrayAttr getKernelSizeAttr ()
 
::llvm::ArrayRef< int32_t > getKernelSize ()
 
::mlir::DenseI32ArrayAttr getStrideAttr ()
 
::llvm::ArrayRef< int32_t > getStride ()
 
::mlir::DenseI32ArrayAttr getPaddingAttr ()
 
::llvm::ArrayRef< int32_t > getPadding ()
 
::mlir::DenseI32ArrayAttr getDilationAttr ()
 
::llvm::ArrayRef< int32_t > getDilation ()
 
::mlir::BoolAttr getCeilModeAttr ()
 
bool getCeilMode ()
 
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 setKernelSizeAttr (::mlir::DenseI32ArrayAttr attr)
 
void setKernelSize (::llvm::ArrayRef< int32_t > attrValue)
 
void setStrideAttr (::mlir::DenseI32ArrayAttr attr)
 
void setStride (::llvm::ArrayRef< int32_t > attrValue)
 
void setPaddingAttr (::mlir::DenseI32ArrayAttr attr)
 
void setPadding (::llvm::ArrayRef< int32_t > attrValue)
 
void setDilationAttr (::mlir::DenseI32ArrayAttr attr)
 
void setDilation (::llvm::ArrayRef< int32_t > attrValue)
 
void setCeilModeAttr (::mlir::BoolAttr attr)
 
void setCeilMode (bool attrValue)
 
::llvm::LogicalResult verifyInvariantsImpl ()
 
::llvm::LogicalResult verifyInvariants ()
 
::llvm::LogicalResult verify ()
 
llvm::Expected< size_t > getOpRuntime (const std::vector< TTNNLayoutAttr > &inputs, const TTNNLayoutAttr &output)
 
llvm::Expected< std::tuple< size_t, size_t, size_t, ::mlir::tt::ttnn::TTNNLayoutAttr > > getOpConstraints (const std::vector< TTNNLayoutAttr > &inputs, const TTNNLayoutAttr &output)
 
void getEffects (::llvm::SmallVectorImpl<::mlir::SideEffects::EffectInstance<::mlir::MemoryEffects::Effect >> &effects)
 
wa::TTNNOperandsWorkarounds getOperandsWorkarounds ()
 

Static Public Member Functions

::mlir::StringAttr getBatchSizeAttrName (::mlir::OperationName name)
 
::mlir::StringAttr getCeilModeAttrName (::mlir::OperationName name)
 
::mlir::StringAttr getChannelsAttrName (::mlir::OperationName name)
 
::mlir::StringAttr getDilationAttrName (::mlir::OperationName name)
 
::mlir::StringAttr getInputHeightAttrName (::mlir::OperationName name)
 
::mlir::StringAttr getInputWidthAttrName (::mlir::OperationName name)
 
::mlir::StringAttr getKernelSizeAttrName (::mlir::OperationName name)
 
::mlir::StringAttr getPaddingAttrName (::mlir::OperationName name)
 
::mlir::StringAttr getStrideAttrName (::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::IntegerAttr batch_size, ::mlir::IntegerAttr input_height, ::mlir::IntegerAttr input_width, ::mlir::IntegerAttr channels, ::mlir::DenseI32ArrayAttr kernel_size, ::mlir::DenseI32ArrayAttr stride, ::mlir::DenseI32ArrayAttr padding, ::mlir::DenseI32ArrayAttr dilation, ::mlir::BoolAttr ceil_mode)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value input, ::mlir::IntegerAttr batch_size, ::mlir::IntegerAttr input_height, ::mlir::IntegerAttr input_width, ::mlir::IntegerAttr channels, ::mlir::DenseI32ArrayAttr kernel_size, ::mlir::DenseI32ArrayAttr stride, ::mlir::DenseI32ArrayAttr padding, ::mlir::DenseI32ArrayAttr dilation, ::mlir::BoolAttr ceil_mode)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result, ::mlir::Value input, int32_t batch_size, int32_t input_height, int32_t input_width, int32_t channels, ::llvm::ArrayRef< int32_t > kernel_size, ::llvm::ArrayRef< int32_t > stride, ::llvm::ArrayRef< int32_t > padding, ::llvm::ArrayRef< int32_t > dilation, bool ceil_mode)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value input, int32_t batch_size, int32_t input_height, int32_t input_width, int32_t channels, ::llvm::ArrayRef< int32_t > kernel_size, ::llvm::ArrayRef< int32_t > stride, ::llvm::ArrayRef< int32_t > padding, ::llvm::ArrayRef< int32_t > dilation, bool ceil_mode)
 
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::IntegerAttr  batch_size,
::mlir::IntegerAttr  input_height,
::mlir::IntegerAttr  input_width,
::mlir::IntegerAttr  channels,
::mlir::DenseI32ArrayAttr  kernel_size,
::mlir::DenseI32ArrayAttr  stride,
::mlir::DenseI32ArrayAttr  padding,
::mlir::DenseI32ArrayAttr  dilation,
::mlir::BoolAttr  ceil_mode 
)
static

◆ build() [3/5]

void mlir::tt::ttnn::MaxPool2dOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::Type  result,
::mlir::Value  input,
int32_t  batch_size,
int32_t  input_height,
int32_t  input_width,
int32_t  channels,
::llvm::ArrayRef< int32_t >  kernel_size,
::llvm::ArrayRef< int32_t >  stride,
::llvm::ArrayRef< int32_t >  padding,
::llvm::ArrayRef< int32_t >  dilation,
bool  ceil_mode 
)
static

◆ build() [4/5]

void mlir::tt::ttnn::MaxPool2dOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::TypeRange  resultTypes,
::mlir::Value  input,
::mlir::IntegerAttr  batch_size,
::mlir::IntegerAttr  input_height,
::mlir::IntegerAttr  input_width,
::mlir::IntegerAttr  channels,
::mlir::DenseI32ArrayAttr  kernel_size,
::mlir::DenseI32ArrayAttr  stride,
::mlir::DenseI32ArrayAttr  padding,
::mlir::DenseI32ArrayAttr  dilation,
::mlir::BoolAttr  ceil_mode 
)
static

◆ build() [5/5]

void mlir::tt::ttnn::MaxPool2dOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::TypeRange  resultTypes,
::mlir::Value  input,
int32_t  batch_size,
int32_t  input_height,
int32_t  input_width,
int32_t  channels,
::llvm::ArrayRef< int32_t >  kernel_size,
::llvm::ArrayRef< int32_t >  stride,
::llvm::ArrayRef< int32_t >  padding,
::llvm::ArrayRef< int32_t >  dilation,
bool  ceil_mode 
)
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

◆ getDilation()

llvm::ArrayRef< int32_t > mlir::tt::ttnn::MaxPool2dOp::getDilation ( )

◆ getDilationAttr()

::mlir::DenseI32ArrayAttr mlir::tt::ttnn::MaxPool2dOp::getDilationAttr ( )
inline

◆ getDilationAttrName() [1/2]

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

◆ getDilationAttrName() [2/2]

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

◆ getEffects()

void mlir::tt::ttnn::MaxPool2dOp::getEffects ( ::llvm::SmallVectorImpl<::mlir::SideEffects::EffectInstance<::mlir::MemoryEffects::Effect >> &  effects)

◆ 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

◆ getKernelSize()

llvm::ArrayRef< int32_t > mlir::tt::ttnn::MaxPool2dOp::getKernelSize ( )

◆ getKernelSizeAttr()

::mlir::DenseI32ArrayAttr mlir::tt::ttnn::MaxPool2dOp::getKernelSizeAttr ( )
inline

◆ getKernelSizeAttrName() [1/2]

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

◆ getKernelSizeAttrName() [2/2]

::mlir::StringAttr mlir::tt::ttnn::MaxPool2dOp::getKernelSizeAttrName ( ::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

◆ getOpConstraints()

llvm::Expected<std::tuple<size_t, size_t, size_t, ::mlir::tt::ttnn::TTNNLayoutAttr> > mlir::tt::ttnn::MaxPool2dOp::getOpConstraints ( const std::vector< TTNNLayoutAttr > &  inputs,
const TTNNLayoutAttr output 
)

◆ getOperandsWorkarounds()

wa::TTNNOperandsWorkarounds mlir::tt::ttnn::MaxPool2dOp::getOperandsWorkarounds ( )
inline

◆ getOperationName()

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

◆ getOpRuntime()

llvm::Expected<size_t> mlir::tt::ttnn::MaxPool2dOp::getOpRuntime ( const std::vector< TTNNLayoutAttr > &  inputs,
const TTNNLayoutAttr output 
)

◆ getPadding()

llvm::ArrayRef< int32_t > mlir::tt::ttnn::MaxPool2dOp::getPadding ( )

◆ getPaddingAttr()

::mlir::DenseI32ArrayAttr mlir::tt::ttnn::MaxPool2dOp::getPaddingAttr ( )
inline

◆ getPaddingAttrName() [1/2]

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

◆ getPaddingAttrName() [2/2]

::mlir::StringAttr mlir::tt::ttnn::MaxPool2dOp::getPaddingAttrName ( ::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

◆ getStride()

llvm::ArrayRef< int32_t > mlir::tt::ttnn::MaxPool2dOp::getStride ( )

◆ getStrideAttr()

::mlir::DenseI32ArrayAttr mlir::tt::ttnn::MaxPool2dOp::getStrideAttr ( )
inline

◆ getStrideAttrName() [1/2]

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

◆ getStrideAttrName() [2/2]

::mlir::StringAttr mlir::tt::ttnn::MaxPool2dOp::getStrideAttrName ( ::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

◆ setDilation()

void mlir::tt::ttnn::MaxPool2dOp::setDilation ( ::llvm::ArrayRef< int32_t >  attrValue)

◆ setDilationAttr()

void mlir::tt::ttnn::MaxPool2dOp::setDilationAttr ( ::mlir::DenseI32ArrayAttr  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

◆ setKernelSize()

void mlir::tt::ttnn::MaxPool2dOp::setKernelSize ( ::llvm::ArrayRef< int32_t >  attrValue)

◆ setKernelSizeAttr()

void mlir::tt::ttnn::MaxPool2dOp::setKernelSizeAttr ( ::mlir::DenseI32ArrayAttr  attr)
inline

◆ setPadding()

void mlir::tt::ttnn::MaxPool2dOp::setPadding ( ::llvm::ArrayRef< int32_t >  attrValue)

◆ setPaddingAttr()

void mlir::tt::ttnn::MaxPool2dOp::setPaddingAttr ( ::mlir::DenseI32ArrayAttr  attr)
inline

◆ setPropertiesFromAttr()

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

◆ setStride()

void mlir::tt::ttnn::MaxPool2dOp::setStride ( ::llvm::ArrayRef< int32_t >  attrValue)

◆ setStrideAttr()

void mlir::tt::ttnn::MaxPool2dOp::setStrideAttr ( ::mlir::DenseI32ArrayAttr  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: