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

Public Member Functions

 EmbeddingOpAdaptor (EmbeddingOp op)
 
::llvm::LogicalResult verify (::mlir::Location loc)
 
 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)
 
- Public Member Functions inherited from mlir::tt::ttnn::EmbeddingOpGenericAdaptor< RangeT >
 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 ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ EmbeddingOpAdaptor()

mlir::tt::ttnn::EmbeddingOpAdaptor::EmbeddingOpAdaptor ( EmbeddingOp  op)

Member Function Documentation

◆ EmbeddingOpGenericAdaptor() [1/3]

◆ EmbeddingOpGenericAdaptor() [2/3]

◆ EmbeddingOpGenericAdaptor() [3/3]

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

◆ verify()

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

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