TT-MLIR
Enumerations | Functions
mlir::tt::ttnn::operations::reduction Namespace Reference

Enumerations

enum class  ReduceType : uint32_t {
  Sum = 0 , Mean = 1 , Max = 2 , Min = 3 ,
  Std = 4 , Var = 5
}
 

Functions

::llvm::StringRef stringifyReduceType (ReduceType val)
 
::std::optional< ReduceTypesymbolizeReduceType (::llvm::StringRef str)
 
::std::optional< ReduceTypesymbolizeReduceType (uint32_t value)
 
constexpr unsigned getMaxEnumValForReduceType ()
 
inline ::llvm::StringRef stringifyEnum (ReduceType enumValue)
 
template<typename EnumType >
::std::optional< EnumType > symbolizeEnum (::llvm::StringRef)
 
template<>
inline ::std::optional< ReduceTypesymbolizeEnum< ReduceType > (::llvm::StringRef str)
 

Enumeration Type Documentation

◆ ReduceType

Enumerator
Sum 
Mean 
Max 
Min 
Std 
Var 

Function Documentation

◆ getMaxEnumValForReduceType()

constexpr unsigned mlir::tt::ttnn::operations::reduction::getMaxEnumValForReduceType ( )
inlineconstexpr

◆ stringifyEnum()

inline ::llvm::StringRef mlir::tt::ttnn::operations::reduction::stringifyEnum ( ReduceType  enumValue)

◆ stringifyReduceType()

llvm::StringRef mlir::tt::ttnn::operations::reduction::stringifyReduceType ( ReduceType  val)

◆ symbolizeEnum()

template<typename EnumType >
::std::optional<EnumType> mlir::tt::ttnn::operations::reduction::symbolizeEnum ( ::llvm::StringRef  )

◆ symbolizeEnum< ReduceType >()

template<>
inline ::std::optional<ReduceType> mlir::tt::ttnn::operations::reduction::symbolizeEnum< ReduceType > ( ::llvm::StringRef  str)

◆ symbolizeReduceType() [1/2]

std::optional< ReduceType > mlir::tt::ttnn::operations::reduction::symbolizeReduceType ( ::llvm::StringRef  str)

◆ symbolizeReduceType() [2/2]

std::optional< ReduceType > mlir::tt::ttnn::operations::reduction::symbolizeReduceType ( uint32_t  value)