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

Public Member Functions

 LinearOpAdaptor (LinearOp op)
 
::llvm::LogicalResult verify (::mlir::Location loc)
 
 LinearOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs={}, const ::mlir::EmptyProperties &properties={}, ::mlir::RegionRange regions={})
 
 LinearOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
template<typename LateInst = LinearOp, typename = std::enable_if_t<std::is_same_v<LateInst, LinearOp>>>
 LinearOpGenericAdaptor (RangeT values, LateInst op)
 
- Public Member Functions inherited from mlir::tt::ttnn::LinearOpGenericAdaptor< RangeT >
 LinearOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs={}, const ::mlir::EmptyProperties &properties={}, ::mlir::RegionRange regions={})
 
 LinearOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
template<typename LateInst = LinearOp, typename = std::enable_if_t<std::is_same_v<LateInst, LinearOp>>>
 LinearOpGenericAdaptor (RangeT values, LateInst op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
 
RangeT getODSOperands (unsigned index)
 
ValueT getA ()
 
ValueT getB ()
 
ValueT getBias ()
 
ValueT getOutput ()
 
RangeT getOperands ()
 
- Public Member Functions inherited from mlir::tt::ttnn::detail::LinearOpGenericAdaptorBase
 LinearOpGenericAdaptorBase (::mlir::DictionaryAttr attrs={}, const ::mlir::EmptyProperties &properties={}, ::mlir::RegionRange regions={})
 
 LinearOpGenericAdaptorBase (::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::LinearOpGenericAdaptorBase
::mlir::DictionaryAttr odsAttrs
 
::std::optional<::mlir::OperationName > odsOpName
 
::mlir::RegionRange odsRegions
 

Constructor & Destructor Documentation

◆ LinearOpAdaptor()

mlir::tt::ttnn::LinearOpAdaptor::LinearOpAdaptor ( LinearOp  op)

Member Function Documentation

◆ LinearOpGenericAdaptor() [1/3]

◆ LinearOpGenericAdaptor() [2/3]

◆ LinearOpGenericAdaptor() [3/3]

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

◆ verify()

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

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