MLIR
20.0.0git
|
#include "Dialect/Quant/IR/TypeDetail.h"
Public Member Functions | |
KeyTy (unsigned flags, Type storageType, Type expressedType, ArrayRef< double > scales, ArrayRef< int64_t > zeroPoints, int32_t quantizedDimension, int64_t storageTypeMin, int64_t storageTypeMax) | |
ArrayRef< double > | getScales () const |
ArrayRef< int64_t > | getZeroPoints () const |
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 |
ArrayRef< double > | scales |
ArrayRef< int64_t > | zeroPoints |
int32_t | quantizedDimension |
int64_t | storageTypeMin |
int64_t | storageTypeMax |
Definition at line 161 of file TypeDetail.h.
|
inline |
Definition at line 162 of file TypeDetail.h.
|
inlinestatic |
Definition at line 192 of file TypeDetail.h.
Referenced by mlir::quant::detail::UniformQuantizedPerAxisTypeStorage::operator==(), and operator==().
|
inline |
Definition at line 206 of file TypeDetail.h.
References expressedType, flags, scales, storageType, storageTypeMax, storageTypeMin, and zeroPoints.
Referenced by mlir::quant::detail::UniformQuantizedPerAxisTypeStorage::hashKey().
|
inline |
Definition at line 185 of file TypeDetail.h.
References scales.
|
inline |
Definition at line 187 of file TypeDetail.h.
References zeroPoints.
|
inline |
Definition at line 202 of file TypeDetail.h.
References genericIsEqual().
Type mlir::quant::detail::UniformQuantizedPerAxisTypeStorage::KeyTy::expressedType |
Definition at line 177 of file TypeDetail.h.
Referenced by getHashValue().
unsigned mlir::quant::detail::UniformQuantizedPerAxisTypeStorage::KeyTy::flags |
Flags corresponding to the bitmapped enum QuantizationFlags::FlagValue.
Definition at line 171 of file TypeDetail.h.
Referenced by getHashValue().
int32_t mlir::quant::detail::UniformQuantizedPerAxisTypeStorage::KeyTy::quantizedDimension |
Definition at line 181 of file TypeDetail.h.
ArrayRef<double> mlir::quant::detail::UniformQuantizedPerAxisTypeStorage::KeyTy::scales |
Definition at line 179 of file TypeDetail.h.
Referenced by mlir::quant::detail::UniformQuantizedPerAxisTypeStorage::construct(), getHashValue(), and getScales().
Type mlir::quant::detail::UniformQuantizedPerAxisTypeStorage::KeyTy::storageType |
Definition at line 174 of file TypeDetail.h.
Referenced by getHashValue().
int64_t mlir::quant::detail::UniformQuantizedPerAxisTypeStorage::KeyTy::storageTypeMax |
Definition at line 183 of file TypeDetail.h.
Referenced by getHashValue().
int64_t mlir::quant::detail::UniformQuantizedPerAxisTypeStorage::KeyTy::storageTypeMin |
Definition at line 182 of file TypeDetail.h.
Referenced by getHashValue().
ArrayRef<int64_t> mlir::quant::detail::UniformQuantizedPerAxisTypeStorage::KeyTy::zeroPoints |
Definition at line 180 of file TypeDetail.h.
Referenced by mlir::quant::detail::UniformQuantizedPerAxisTypeStorage::construct(), getHashValue(), and getZeroPoints().