TT-MLIR
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
mlir::tt::ttnn::detail::UnaryWithParamAttrStorage Struct Reference
Inheritance diagram for mlir::tt::ttnn::detail::UnaryWithParamAttrStorage:

Public Types

using KeyTy = std::tuple< UnaryOpType, ::llvm::ArrayRef< FloatAttr > >
 

Public Member Functions

 UnaryWithParamAttrStorage (UnaryOpType op_type, ::llvm::ArrayRef< FloatAttr > params)
 
KeyTy getAsKey () const
 
bool operator== (const KeyTy &tblgenKey) const
 

Static Public Member Functions

::llvm::hash_code hashKey (const KeyTy &tblgenKey)
 
static UnaryWithParamAttrStorageconstruct (::mlir::AttributeStorageAllocator &allocator, KeyTy &&tblgenKey)
 

Public Attributes

UnaryOpType op_type
 
::llvm::ArrayRef< FloatAttr > params
 

Member Typedef Documentation

◆ KeyTy

using mlir::tt::ttnn::detail::UnaryWithParamAttrStorage::KeyTy = std::tuple<UnaryOpType, ::llvm::ArrayRef<FloatAttr> >

Constructor & Destructor Documentation

◆ UnaryWithParamAttrStorage()

mlir::tt::ttnn::detail::UnaryWithParamAttrStorage::UnaryWithParamAttrStorage ( UnaryOpType  op_type,
::llvm::ArrayRef< FloatAttr >  params 
)
inline

Member Function Documentation

◆ construct()

static UnaryWithParamAttrStorage* mlir::tt::ttnn::detail::UnaryWithParamAttrStorage::construct ( ::mlir::AttributeStorageAllocator &  allocator,
KeyTy &&  tblgenKey 
)
inlinestatic

◆ getAsKey()

KeyTy mlir::tt::ttnn::detail::UnaryWithParamAttrStorage::getAsKey ( ) const
inline

◆ hashKey()

::llvm::hash_code mlir::tt::ttnn::detail::UnaryWithParamAttrStorage::hashKey ( const KeyTy tblgenKey)
inlinestatic

◆ operator==()

bool mlir::tt::ttnn::detail::UnaryWithParamAttrStorage::operator== ( const KeyTy tblgenKey) const
inline

Member Data Documentation

◆ op_type

UnaryOpType mlir::tt::ttnn::detail::UnaryWithParamAttrStorage::op_type

◆ params

::llvm::ArrayRef<FloatAttr> mlir::tt::ttnn::detail::UnaryWithParamAttrStorage::params

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