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

Public Member Functions

 SumOpAdaptor (SumOp op)
 
::llvm::LogicalResult verify (::mlir::Location loc)
 
 SumOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 SumOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
 SumOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs=nullptr)
 
template<typename LateInst = SumOp, typename = std::enable_if_t<std::is_same_v<LateInst, SumOp>>>
 SumOpGenericAdaptor (RangeT values, LateInst op)
 
- Public Member Functions inherited from mlir::tt::ttnn::SumOpGenericAdaptor< RangeT >
 SumOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 SumOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
 SumOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs=nullptr)
 
template<typename LateInst = SumOp, typename = std::enable_if_t<std::is_same_v<LateInst, SumOp>>>
 SumOpGenericAdaptor (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::SumOpGenericAdaptorBase
 SumOpGenericAdaptorBase (::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 SumOpGenericAdaptorBase (SumOp op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index, unsigned odsOperandsSize)
 
const PropertiesgetProperties ()
 
::mlir::DictionaryAttr getAttributes ()
 
::mlir::BoolAttr getKeepDimAttr ()
 
bool getKeepDim ()
 
::mlir::ArrayAttr getDimArgAttr ()
 
::std::optional< ::mlir::ArrayAttr > getDimArg ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ SumOpAdaptor()

mlir::tt::ttnn::SumOpAdaptor::SumOpAdaptor ( SumOp  op)

Member Function Documentation

◆ SumOpGenericAdaptor() [1/4]

◆ SumOpGenericAdaptor() [2/4]

◆ SumOpGenericAdaptor() [3/4]

◆ SumOpGenericAdaptor() [4/4]

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

◆ verify()

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

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