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

Public Member Functions

 RequantizeOpAdaptor (RequantizeOp op)
 
::llvm::LogicalResult verify (::mlir::Location loc)
 
 RequantizeOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 RequantizeOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
 RequantizeOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs=nullptr)
 
 RequantizeOpGenericAdaptor (RangeT values, const RequantizeOpGenericAdaptorBase &base)
 
template<typename LateInst = RequantizeOp, typename = std::enable_if_t<std::is_same_v<LateInst, RequantizeOp>>>
 RequantizeOpGenericAdaptor (RangeT values, LateInst op)
 
- Public Member Functions inherited from mlir::tt::ttnn::RequantizeOpGenericAdaptor< RangeT >
 RequantizeOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 RequantizeOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
 RequantizeOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs=nullptr)
 
 RequantizeOpGenericAdaptor (RangeT values, const RequantizeOpGenericAdaptorBase &base)
 
template<typename LateInst = RequantizeOp, typename = std::enable_if_t<std::is_same_v<LateInst, RequantizeOp>>>
 RequantizeOpGenericAdaptor (RangeT values, LateInst op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
 
RangeT getODSOperands (unsigned index)
 
ValueT getInput ()
 
RangeT getOperands ()
 
- Public Member Functions inherited from mlir::tt::ttnn::detail::RequantizeOpGenericAdaptorBase
 RequantizeOpGenericAdaptorBase (::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 RequantizeOpGenericAdaptorBase (RequantizeOp op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index, unsigned odsOperandsSize)
 
const PropertiesgetProperties ()
 
::mlir::DictionaryAttr getAttributes ()
 
::mlir::FloatAttr getInScaleAttr ()
 
::llvm::APFloat getInScale ()
 
::mlir::IntegerAttr getInZeroPointAttr ()
 
uint32_t getInZeroPoint ()
 
::mlir::FloatAttr getOutScaleAttr ()
 
::llvm::APFloat getOutScale ()
 
::mlir::IntegerAttr getOutZeroPointAttr ()
 
uint32_t getOutZeroPoint ()
 
::mlir::IntegerAttr getAxisAttr ()
 
::std::optional< uint32_t > getAxis ()
 
::mlir::tt::DataTypeAttr getOutputDtypeAttr ()
 
::std::optional<::mlir::tt::DataTypegetOutputDtype ()
 
::mlir::tt::ttnn::MemoryConfigAttr getMemoryConfigAttr ()
 
::std::optional<::mlir::tt::ttnn::MemoryConfigAttrgetMemoryConfig ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ RequantizeOpAdaptor()

mlir::tt::ttnn::RequantizeOpAdaptor::RequantizeOpAdaptor ( RequantizeOp  op)

Member Function Documentation

◆ RequantizeOpGenericAdaptor() [1/5]

◆ RequantizeOpGenericAdaptor() [2/5]

◆ RequantizeOpGenericAdaptor() [3/5]

◆ RequantizeOpGenericAdaptor() [4/5]

◆ RequantizeOpGenericAdaptor() [5/5]

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

◆ verify()

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

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