MLIR  20.0.0git
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
mlir::quant::detail::CalibratedQuantizedTypeStorage::KeyTy Struct Reference

#include "Dialect/Quant/IR/TypeDetail.h"

Public Member Functions

 KeyTy (Type expressedType, double min, double max)
 
bool operator== (const KeyTy &other) const
 
unsigned getHashValue () const
 

Static Public Member Functions

template<typename T , typename U >
static bool genericIsEqual (const T &lhs, const U &rhs)
 

Public Attributes

Type expressedType
 
double min
 
double max
 

Detailed Description

Definition at line 257 of file TypeDetail.h.

Constructor & Destructor Documentation

◆ KeyTy()

mlir::quant::detail::CalibratedQuantizedTypeStorage::KeyTy::KeyTy ( Type  expressedType,
double  min,
double  max 
)
inline

Definition at line 258 of file TypeDetail.h.

Member Function Documentation

◆ genericIsEqual()

template<typename T , typename U >
static bool mlir::quant::detail::CalibratedQuantizedTypeStorage::KeyTy::genericIsEqual ( const T &  lhs,
const U &  rhs 
)
inlinestatic

◆ getHashValue()

unsigned mlir::quant::detail::CalibratedQuantizedTypeStorage::KeyTy::getHashValue ( ) const
inline

Definition at line 278 of file TypeDetail.h.

References expressedType, max, and min.

Referenced by mlir::quant::detail::CalibratedQuantizedTypeStorage::hashKey().

◆ operator==()

bool mlir::quant::detail::CalibratedQuantizedTypeStorage::KeyTy::operator== ( const KeyTy other) const
inline

Definition at line 274 of file TypeDetail.h.

References genericIsEqual().

Member Data Documentation

◆ expressedType

Type mlir::quant::detail::CalibratedQuantizedTypeStorage::KeyTy::expressedType

Definition at line 261 of file TypeDetail.h.

Referenced by getHashValue().

◆ max

double mlir::quant::detail::CalibratedQuantizedTypeStorage::KeyTy::max

Definition at line 264 of file TypeDetail.h.

Referenced by getHashValue().

◆ min

double mlir::quant::detail::CalibratedQuantizedTypeStorage::KeyTy::min

Definition at line 263 of file TypeDetail.h.

Referenced by getHashValue().


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