TT-MLIR
Public Member Functions | Private Types | Private Attributes | List of all members
mlir::tt::ttnn::EmbeddingOpGenericAdaptor< RangeT > Class Template Reference
Inheritance diagram for mlir::tt::ttnn::EmbeddingOpGenericAdaptor< RangeT >:
mlir::tt::ttnn::detail::EmbeddingOpGenericAdaptorBase mlir::tt::ttnn::EmbeddingOpAdaptor

Public Member Functions

 EmbeddingOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs={}, const ::mlir::EmptyProperties &properties={}, ::mlir::RegionRange regions={})
 
 EmbeddingOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
template<typename LateInst = EmbeddingOp, typename = std::enable_if_t<std::is_same_v<LateInst, EmbeddingOp>>>
 EmbeddingOpGenericAdaptor (RangeT values, LateInst op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
 
RangeT getODSOperands (unsigned index)
 
ValueT getInput ()
 
ValueT getOutput ()
 
ValueT getWeight ()
 
RangeT getOperands ()
 
- Public Member Functions inherited from mlir::tt::ttnn::detail::EmbeddingOpGenericAdaptorBase
 EmbeddingOpGenericAdaptorBase (::mlir::DictionaryAttr attrs={}, const ::mlir::EmptyProperties &properties={}, ::mlir::RegionRange regions={})
 
 EmbeddingOpGenericAdaptorBase (::mlir::Operation *op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index, unsigned odsOperandsSize)
 
::mlir::DictionaryAttr getAttributes ()
 

Private Types

using ValueT = ::llvm::detail::ValueOfRange< RangeT >
 
using Base = detail::EmbeddingOpGenericAdaptorBase
 

Private Attributes

RangeT odsOperands
 

Additional Inherited Members

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

Member Typedef Documentation

◆ Base

template<typename RangeT >
using mlir::tt::ttnn::EmbeddingOpGenericAdaptor< RangeT >::Base = detail::EmbeddingOpGenericAdaptorBase
private

◆ ValueT

template<typename RangeT >
using mlir::tt::ttnn::EmbeddingOpGenericAdaptor< RangeT >::ValueT = ::llvm::detail::ValueOfRange<RangeT>
private

Constructor & Destructor Documentation

◆ EmbeddingOpGenericAdaptor() [1/3]

template<typename RangeT >
mlir::tt::ttnn::EmbeddingOpGenericAdaptor< RangeT >::EmbeddingOpGenericAdaptor ( RangeT  values,
::mlir::DictionaryAttr  attrs = {},
const ::mlir::EmptyProperties &  properties = {},
::mlir::RegionRange  regions = {} 
)
inline

◆ EmbeddingOpGenericAdaptor() [2/3]

template<typename RangeT >
mlir::tt::ttnn::EmbeddingOpGenericAdaptor< RangeT >::EmbeddingOpGenericAdaptor ( RangeT  values,
::mlir::DictionaryAttr  attrs,
::mlir::OpaqueProperties  properties,
::mlir::RegionRange  regions = {} 
)
inline

◆ EmbeddingOpGenericAdaptor() [3/3]

template<typename RangeT >
template<typename LateInst = EmbeddingOp, typename = std::enable_if_t<std::is_same_v<LateInst, EmbeddingOp>>>
mlir::tt::ttnn::EmbeddingOpGenericAdaptor< RangeT >::EmbeddingOpGenericAdaptor ( RangeT  values,
LateInst  op 
)
inline

Member Function Documentation

◆ getInput()

template<typename RangeT >
ValueT mlir::tt::ttnn::EmbeddingOpGenericAdaptor< RangeT >::getInput ( )
inline

◆ getODSOperandIndexAndLength()

template<typename RangeT >
std::pair<unsigned, unsigned> mlir::tt::ttnn::EmbeddingOpGenericAdaptor< RangeT >::getODSOperandIndexAndLength ( unsigned  index)
inline

◆ getODSOperands()

template<typename RangeT >
RangeT mlir::tt::ttnn::EmbeddingOpGenericAdaptor< RangeT >::getODSOperands ( unsigned  index)
inline

◆ getOperands()

template<typename RangeT >
RangeT mlir::tt::ttnn::EmbeddingOpGenericAdaptor< RangeT >::getOperands ( )
inline

◆ getOutput()

template<typename RangeT >
ValueT mlir::tt::ttnn::EmbeddingOpGenericAdaptor< RangeT >::getOutput ( )
inline

◆ getWeight()

template<typename RangeT >
ValueT mlir::tt::ttnn::EmbeddingOpGenericAdaptor< RangeT >::getWeight ( )
inline

Member Data Documentation

◆ odsOperands

template<typename RangeT >
RangeT mlir::tt::ttnn::EmbeddingOpGenericAdaptor< RangeT >::odsOperands
private

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