|
MLIR 23.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. | |
| Type | storageType |
| Type | expressedType |
| ArrayRef< double > | scales |
| ArrayRef< int64_t > | zeroPoints |
| int32_t | quantizedDimension |
| int64_t | storageTypeMin |
| int64_t | storageTypeMax |
Definition at line 162 of file TypeDetail.h.
|
inline |
Definition at line 163 of file TypeDetail.h.
References expressedType, flags, quantizedDimension, scales, storageType, storageTypeMax, storageTypeMin, and zeroPoints.
Referenced by operator==().
|
inlinestatic |
Definition at line 193 of file TypeDetail.h.
Referenced by operator==(), and mlir::quant::detail::UniformQuantizedPerAxisTypeStorage::operator==().
|
inline |
Definition at line 207 of file TypeDetail.h.
References expressedType, flags, scales, storageType, storageTypeMax, storageTypeMin, and zeroPoints.
Referenced by mlir::quant::detail::UniformQuantizedPerAxisTypeStorage::hashKey().
|
inline |
Definition at line 186 of file TypeDetail.h.
References scales.
|
inline |
Definition at line 188 of file TypeDetail.h.
References zeroPoints.
|
inline |
Definition at line 203 of file TypeDetail.h.
References genericIsEqual(), and KeyTy().
| Type mlir::quant::detail::UniformQuantizedPerAxisTypeStorage::KeyTy::expressedType |
Definition at line 178 of file TypeDetail.h.
Referenced by getHashValue(), and KeyTy().
| unsigned mlir::quant::detail::UniformQuantizedPerAxisTypeStorage::KeyTy::flags |
Flags corresponding to the bitmapped enum QuantizationFlags::FlagValue.
Definition at line 172 of file TypeDetail.h.
Referenced by getHashValue(), and KeyTy().
| int32_t mlir::quant::detail::UniformQuantizedPerAxisTypeStorage::KeyTy::quantizedDimension |
Definition at line 182 of file TypeDetail.h.
Referenced by KeyTy().
| ArrayRef<double> mlir::quant::detail::UniformQuantizedPerAxisTypeStorage::KeyTy::scales |
Definition at line 180 of file TypeDetail.h.
Referenced by mlir::quant::detail::UniformQuantizedPerAxisTypeStorage::construct(), getHashValue(), getScales(), and KeyTy().
| Type mlir::quant::detail::UniformQuantizedPerAxisTypeStorage::KeyTy::storageType |
Definition at line 175 of file TypeDetail.h.
Referenced by getHashValue(), and KeyTy().
| int64_t mlir::quant::detail::UniformQuantizedPerAxisTypeStorage::KeyTy::storageTypeMax |
Definition at line 184 of file TypeDetail.h.
Referenced by getHashValue(), and KeyTy().
| int64_t mlir::quant::detail::UniformQuantizedPerAxisTypeStorage::KeyTy::storageTypeMin |
Definition at line 183 of file TypeDetail.h.
Referenced by getHashValue(), and KeyTy().
Definition at line 181 of file TypeDetail.h.
Referenced by mlir::quant::detail::UniformQuantizedPerAxisTypeStorage::construct(), getHashValue(), getZeroPoints(), and KeyTy().