TT-MLIR
Public Member Functions | List of all members
mlir::tt::ttnn::MaxPool2dOpAdaptor Class Reference
Inheritance diagram for mlir::tt::ttnn::MaxPool2dOpAdaptor:
mlir::tt::ttnn::MaxPool2dOpGenericAdaptor< RangeT > mlir::tt::ttnn::detail::MaxPool2dOpGenericAdaptorBase

Public Member Functions

 MaxPool2dOpAdaptor (MaxPool2dOp op)
 
::llvm::LogicalResult verify (::mlir::Location loc)
 
 MaxPool2dOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 MaxPool2dOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
 MaxPool2dOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs=nullptr)
 
template<typename LateInst = MaxPool2dOp, typename = std::enable_if_t<std::is_same_v<LateInst, MaxPool2dOp>>>
 MaxPool2dOpGenericAdaptor (RangeT values, LateInst op)
 
- Public Member Functions inherited from mlir::tt::ttnn::MaxPool2dOpGenericAdaptor< RangeT >
 MaxPool2dOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 MaxPool2dOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
 MaxPool2dOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs=nullptr)
 
template<typename LateInst = MaxPool2dOp, typename = std::enable_if_t<std::is_same_v<LateInst, MaxPool2dOp>>>
 MaxPool2dOpGenericAdaptor (RangeT values, LateInst op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
 
RangeT getODSOperands (unsigned index)
 
ValueT getInput ()
 
ValueT getOutput ()
 
ValueT getDevice ()
 
RangeT getOperands ()
 
- Public Member Functions inherited from mlir::tt::ttnn::detail::MaxPool2dOpGenericAdaptorBase
 MaxPool2dOpGenericAdaptorBase (::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 MaxPool2dOpGenericAdaptorBase (MaxPool2dOp op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index, unsigned odsOperandsSize)
 
const PropertiesgetProperties ()
 
::mlir::DictionaryAttr getAttributes ()
 
::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 ()
 

Additional Inherited Members

- Protected Attributes inherited from mlir::tt::ttnn::detail::MaxPool2dOpGenericAdaptorBase
::mlir::DictionaryAttr odsAttrs
 
::std::optional<::mlir::OperationName > odsOpName
 
Properties properties
 
::mlir::RegionRange odsRegions
 

Constructor & Destructor Documentation

◆ MaxPool2dOpAdaptor()

mlir::tt::ttnn::MaxPool2dOpAdaptor::MaxPool2dOpAdaptor ( MaxPool2dOp  op)

Member Function Documentation

◆ MaxPool2dOpGenericAdaptor() [1/4]

◆ MaxPool2dOpGenericAdaptor() [2/4]

◆ MaxPool2dOpGenericAdaptor() [3/4]

◆ MaxPool2dOpGenericAdaptor() [4/4]

template<typename LateInst = MaxPool2dOp, typename = std::enable_if_t<std::is_same_v<LateInst, MaxPool2dOp>>>
mlir::tt::ttnn::MaxPool2dOpGenericAdaptor< RangeT >::MaxPool2dOpGenericAdaptor ( typename LateInst  = MaxPool2dOp,
typename  = std::enable_if_t<std::is_same_v<LateInst, MaxPool2dOp>> 
)
inline

◆ verify()

llvm::LogicalResult mlir::tt::ttnn::MaxPool2dOpAdaptor::verify ( ::mlir::Location  loc)

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