TT-MLIR
Public Member Functions | Private Types | Private Attributes | List of all members
mlir::tt::ttir::BatchNormOpGenericAdaptor< RangeT > Class Template Reference
Inheritance diagram for mlir::tt::ttir::BatchNormOpGenericAdaptor< RangeT >:
mlir::tt::ttir::detail::BatchNormOpGenericAdaptorBase

Public Member Functions

 BatchNormOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 BatchNormOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
 BatchNormOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs=nullptr)
 
 BatchNormOpGenericAdaptor (RangeT values, const BatchNormOpGenericAdaptorBase &base)
 
template<typename LateInst = BatchNormOp, typename = std::enable_if_t<std::is_same_v<LateInst, BatchNormOp>>>
 BatchNormOpGenericAdaptor (RangeT values, LateInst op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
 
RangeT getODSOperands (unsigned index)
 
ValueT getOperand ()
 
ValueT getScale ()
 
ValueT getOffset ()
 
ValueT getMean ()
 
ValueT getVariance ()
 
ValueT getOutput ()
 
RangeT getOperands ()
 
- Public Member Functions inherited from mlir::tt::ttir::detail::BatchNormOpGenericAdaptorBase
 BatchNormOpGenericAdaptorBase (::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 BatchNormOpGenericAdaptorBase (BatchNormOp op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index, unsigned odsOperandsSize)
 
const PropertiesgetProperties ()
 
::mlir::DictionaryAttr getAttributes ()
 
::mlir::FloatAttr getEpsilonAttr ()
 
::llvm::APFloat getEpsilon ()
 
::mlir::IntegerAttr getDimensionAttr ()
 
uint32_t getDimension ()
 
::mlir::BoolAttr getTrainingAttr ()
 
bool getTraining ()
 

Private Types

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

Private Attributes

RangeT odsOperands
 

Additional Inherited Members

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

Member Typedef Documentation

◆ Base

template<typename RangeT >
using mlir::tt::ttir::BatchNormOpGenericAdaptor< RangeT >::Base = detail::BatchNormOpGenericAdaptorBase
private

◆ ValueT

template<typename RangeT >
using mlir::tt::ttir::BatchNormOpGenericAdaptor< RangeT >::ValueT = ::llvm::detail::ValueOfRange<RangeT>
private

Constructor & Destructor Documentation

◆ BatchNormOpGenericAdaptor() [1/5]

template<typename RangeT >
mlir::tt::ttir::BatchNormOpGenericAdaptor< RangeT >::BatchNormOpGenericAdaptor ( RangeT  values,
::mlir::DictionaryAttr  attrs,
const Properties properties,
::mlir::RegionRange  regions = {} 
)
inline

◆ BatchNormOpGenericAdaptor() [2/5]

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

◆ BatchNormOpGenericAdaptor() [3/5]

template<typename RangeT >
mlir::tt::ttir::BatchNormOpGenericAdaptor< RangeT >::BatchNormOpGenericAdaptor ( RangeT  values,
::mlir::DictionaryAttr  attrs = nullptr 
)
inline

◆ BatchNormOpGenericAdaptor() [4/5]

template<typename RangeT >
mlir::tt::ttir::BatchNormOpGenericAdaptor< RangeT >::BatchNormOpGenericAdaptor ( RangeT  values,
const BatchNormOpGenericAdaptorBase base 
)
inline

◆ BatchNormOpGenericAdaptor() [5/5]

template<typename RangeT >
template<typename LateInst = BatchNormOp, typename = std::enable_if_t<std::is_same_v<LateInst, BatchNormOp>>>
mlir::tt::ttir::BatchNormOpGenericAdaptor< RangeT >::BatchNormOpGenericAdaptor ( RangeT  values,
LateInst  op 
)
inline

Member Function Documentation

◆ getMean()

template<typename RangeT >
ValueT mlir::tt::ttir::BatchNormOpGenericAdaptor< RangeT >::getMean ( )
inline

◆ getODSOperandIndexAndLength()

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

◆ getODSOperands()

template<typename RangeT >
RangeT mlir::tt::ttir::BatchNormOpGenericAdaptor< RangeT >::getODSOperands ( unsigned  index)
inline

◆ getOffset()

template<typename RangeT >
ValueT mlir::tt::ttir::BatchNormOpGenericAdaptor< RangeT >::getOffset ( )
inline

◆ getOperand()

template<typename RangeT >
ValueT mlir::tt::ttir::BatchNormOpGenericAdaptor< RangeT >::getOperand ( )
inline

◆ getOperands()

template<typename RangeT >
RangeT mlir::tt::ttir::BatchNormOpGenericAdaptor< RangeT >::getOperands ( )
inline

◆ getOutput()

template<typename RangeT >
ValueT mlir::tt::ttir::BatchNormOpGenericAdaptor< RangeT >::getOutput ( )
inline

◆ getScale()

template<typename RangeT >
ValueT mlir::tt::ttir::BatchNormOpGenericAdaptor< RangeT >::getScale ( )
inline

◆ getVariance()

template<typename RangeT >
ValueT mlir::tt::ttir::BatchNormOpGenericAdaptor< RangeT >::getVariance ( )
inline

Member Data Documentation

◆ odsOperands

template<typename RangeT >
RangeT mlir::tt::ttir::BatchNormOpGenericAdaptor< RangeT >::odsOperands
private

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