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

Classes

struct  Properties
 

Public Member Functions

 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 ()
 

Protected Attributes

::mlir::DictionaryAttr odsAttrs
 
::std::optional<::mlir::OperationName > odsOpName
 
Properties properties
 
::mlir::RegionRange odsRegions
 

Constructor & Destructor Documentation

◆ RequantizeOpGenericAdaptorBase() [1/2]

mlir::tt::ttnn::detail::RequantizeOpGenericAdaptorBase::RequantizeOpGenericAdaptorBase ( ::mlir::DictionaryAttr  attrs,
const Properties properties,
::mlir::RegionRange  regions = {} 
)
inline

◆ RequantizeOpGenericAdaptorBase() [2/2]

mlir::tt::ttnn::detail::RequantizeOpGenericAdaptorBase::RequantizeOpGenericAdaptorBase ( RequantizeOp  op)

Member Function Documentation

◆ getAttributes()

::mlir::DictionaryAttr mlir::tt::ttnn::detail::RequantizeOpGenericAdaptorBase::getAttributes ( )
inline

◆ getAxis()

std::optional< uint32_t > mlir::tt::ttnn::detail::RequantizeOpGenericAdaptorBase::getAxis ( )

◆ getAxisAttr()

::mlir::IntegerAttr mlir::tt::ttnn::detail::RequantizeOpGenericAdaptorBase::getAxisAttr ( )
inline

◆ getInScale()

llvm::APFloat mlir::tt::ttnn::detail::RequantizeOpGenericAdaptorBase::getInScale ( )

◆ getInScaleAttr()

::mlir::FloatAttr mlir::tt::ttnn::detail::RequantizeOpGenericAdaptorBase::getInScaleAttr ( )
inline

◆ getInZeroPoint()

uint32_t mlir::tt::ttnn::detail::RequantizeOpGenericAdaptorBase::getInZeroPoint ( )

◆ getInZeroPointAttr()

::mlir::IntegerAttr mlir::tt::ttnn::detail::RequantizeOpGenericAdaptorBase::getInZeroPointAttr ( )
inline

◆ getMemoryConfig()

std::optional<::mlir::tt::ttnn::MemoryConfigAttr > mlir::tt::ttnn::detail::RequantizeOpGenericAdaptorBase::getMemoryConfig ( )

◆ getMemoryConfigAttr()

::mlir::tt::ttnn::MemoryConfigAttr mlir::tt::ttnn::detail::RequantizeOpGenericAdaptorBase::getMemoryConfigAttr ( )
inline

◆ getODSOperandIndexAndLength()

std::pair<unsigned, unsigned> mlir::tt::ttnn::detail::RequantizeOpGenericAdaptorBase::getODSOperandIndexAndLength ( unsigned  index,
unsigned  odsOperandsSize 
)
inline

◆ getOutputDtype()

std::optional<::mlir::tt::DataType > mlir::tt::ttnn::detail::RequantizeOpGenericAdaptorBase::getOutputDtype ( )

◆ getOutputDtypeAttr()

::mlir::tt::DataTypeAttr mlir::tt::ttnn::detail::RequantizeOpGenericAdaptorBase::getOutputDtypeAttr ( )
inline

◆ getOutScale()

llvm::APFloat mlir::tt::ttnn::detail::RequantizeOpGenericAdaptorBase::getOutScale ( )

◆ getOutScaleAttr()

::mlir::FloatAttr mlir::tt::ttnn::detail::RequantizeOpGenericAdaptorBase::getOutScaleAttr ( )
inline

◆ getOutZeroPoint()

uint32_t mlir::tt::ttnn::detail::RequantizeOpGenericAdaptorBase::getOutZeroPoint ( )

◆ getOutZeroPointAttr()

::mlir::IntegerAttr mlir::tt::ttnn::detail::RequantizeOpGenericAdaptorBase::getOutZeroPointAttr ( )
inline

◆ getProperties()

const Properties& mlir::tt::ttnn::detail::RequantizeOpGenericAdaptorBase::getProperties ( )
inline

Member Data Documentation

◆ odsAttrs

::mlir::DictionaryAttr mlir::tt::ttnn::detail::RequantizeOpGenericAdaptorBase::odsAttrs
protected

◆ odsOpName

::std::optional<::mlir::OperationName> mlir::tt::ttnn::detail::RequantizeOpGenericAdaptorBase::odsOpName
protected

◆ odsRegions

::mlir::RegionRange mlir::tt::ttnn::detail::RequantizeOpGenericAdaptorBase::odsRegions
protected

◆ properties

Properties mlir::tt::ttnn::detail::RequantizeOpGenericAdaptorBase::properties
protected

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