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

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

+ Collaboration diagram for mlir::quant::detail::UniformQuantizedTypeStorage::KeyTy:

Public Member Functions

 KeyTy (unsigned flags, Type storageType, Type expressedType, double scale, int64_t zeroPoint, int64_t storageTypeMin, int64_t storageTypeMax)
 
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

unsigned flags
 Flags corresponding to the bitmapped enum QuantizationFlags::FlagValue. More...
 
Type storageType
 
Type expressedType
 
double scale
 
int64_t zeroPoint
 
int64_t storageTypeMin
 
int64_t storageTypeMax
 

Detailed Description

Definition at line 96 of file TypeDetail.h.

Constructor & Destructor Documentation

◆ KeyTy()

mlir::quant::detail::UniformQuantizedTypeStorage::KeyTy::KeyTy ( unsigned  flags,
Type  storageType,
Type  expressedType,
double  scale,
int64_t  zeroPoint,
int64_t  storageTypeMin,
int64_t  storageTypeMax 
)
inline

Definition at line 97 of file TypeDetail.h.

Member Function Documentation

◆ genericIsEqual()

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

Definition at line 119 of file TypeDetail.h.

◆ getHashValue()

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

◆ operator==()

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

Definition at line 127 of file TypeDetail.h.

Member Data Documentation

◆ expressedType

Type mlir::quant::detail::UniformQuantizedTypeStorage::KeyTy::expressedType

Definition at line 109 of file TypeDetail.h.

◆ flags

unsigned mlir::quant::detail::UniformQuantizedTypeStorage::KeyTy::flags

Flags corresponding to the bitmapped enum QuantizationFlags::FlagValue.

Definition at line 103 of file TypeDetail.h.

◆ scale

double mlir::quant::detail::UniformQuantizedTypeStorage::KeyTy::scale

Definition at line 111 of file TypeDetail.h.

◆ storageType

Type mlir::quant::detail::UniformQuantizedTypeStorage::KeyTy::storageType

Definition at line 106 of file TypeDetail.h.

◆ storageTypeMax

int64_t mlir::quant::detail::UniformQuantizedTypeStorage::KeyTy::storageTypeMax

Definition at line 114 of file TypeDetail.h.

◆ storageTypeMin

int64_t mlir::quant::detail::UniformQuantizedTypeStorage::KeyTy::storageTypeMin

Definition at line 113 of file TypeDetail.h.

◆ zeroPoint

int64_t mlir::quant::detail::UniformQuantizedTypeStorage::KeyTy::zeroPoint

Definition at line 112 of file TypeDetail.h.


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