TT-MLIR
|
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::DeviceType > | getDevice () |
::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) |
using mlir::tt::ttnn::MaxPool2dOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute> > |
using mlir::tt::ttnn::MaxPool2dOp::GenericAdaptor = MaxPool2dOpGenericAdaptor<RangeT> |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
inlinestaticprivate |
|
inlineprivate |
|
inline |
int32_t mlir::tt::ttnn::MaxPool2dOp::getBatchSize | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
bool mlir::tt::ttnn::MaxPool2dOp::getCeilMode | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
int32_t mlir::tt::ttnn::MaxPool2dOp::getChannels | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
int32_t mlir::tt::ttnn::MaxPool2dOp::getDilationHeight | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
int32_t mlir::tt::ttnn::MaxPool2dOp::getDilationWidth | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
static |
|
inline |
int32_t mlir::tt::ttnn::MaxPool2dOp::getInputHeight | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
int32_t mlir::tt::ttnn::MaxPool2dOp::getInputWidth | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
int32_t mlir::tt::ttnn::MaxPool2dOp::getKernelHeight | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
int32_t mlir::tt::ttnn::MaxPool2dOp::getKernelWidth | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
int32_t mlir::tt::ttnn::MaxPool2dOp::getPaddingHeight | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
int32_t mlir::tt::ttnn::MaxPool2dOp::getPaddingWidth | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
|
static |
|
inline |
int32_t mlir::tt::ttnn::MaxPool2dOp::getStrideHeight | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
int32_t mlir::tt::ttnn::MaxPool2dOp::getStrideWidth | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
|
static |
|
static |
void mlir::tt::ttnn::MaxPool2dOp::setBatchSize | ( | int32_t | attrValue | ) |
|
inline |
void mlir::tt::ttnn::MaxPool2dOp::setCeilMode | ( | bool | attrValue | ) |
|
inline |
void mlir::tt::ttnn::MaxPool2dOp::setChannels | ( | int32_t | attrValue | ) |
|
inline |
void mlir::tt::ttnn::MaxPool2dOp::setDilationHeight | ( | int32_t | attrValue | ) |
|
inline |
void mlir::tt::ttnn::MaxPool2dOp::setDilationWidth | ( | int32_t | attrValue | ) |
|
inline |
|
static |
void mlir::tt::ttnn::MaxPool2dOp::setInputHeight | ( | int32_t | attrValue | ) |
|
inline |
void mlir::tt::ttnn::MaxPool2dOp::setInputWidth | ( | int32_t | attrValue | ) |
|
inline |
void mlir::tt::ttnn::MaxPool2dOp::setKernelHeight | ( | int32_t | attrValue | ) |
|
inline |
void mlir::tt::ttnn::MaxPool2dOp::setKernelWidth | ( | int32_t | attrValue | ) |
|
inline |
void mlir::tt::ttnn::MaxPool2dOp::setPaddingHeight | ( | int32_t | attrValue | ) |
|
inline |
void mlir::tt::ttnn::MaxPool2dOp::setPaddingWidth | ( | int32_t | attrValue | ) |
|
inline |
|
static |
void mlir::tt::ttnn::MaxPool2dOp::setStrideHeight | ( | int32_t | attrValue | ) |
|
inline |
void mlir::tt::ttnn::MaxPool2dOp::setStrideWidth | ( | int32_t | attrValue | ) |
|
inline |
::llvm::LogicalResult mlir::tt::ttnn::MaxPool2dOp::verify | ( | ) |
|
static |
llvm::LogicalResult mlir::tt::ttnn::MaxPool2dOp::verifyInvariants | ( | ) |
llvm::LogicalResult mlir::tt::ttnn::MaxPool2dOp::verifyInvariantsImpl | ( | ) |
void mlir::tt::ttnn::MaxPool2dOp::writeProperties | ( | ::mlir::DialectBytecodeWriter & | writer | ) |