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

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

+ Inheritance diagram for mlir::quant::detail::CalibratedQuantizedTypeStorage:
+ Collaboration diagram for mlir::quant::detail::CalibratedQuantizedTypeStorage:


struct  KeyTy

Public Member Functions

 CalibratedQuantizedTypeStorage (const KeyTy &key)
bool operator== (const KeyTy &key) const
- Public Member Functions inherited from mlir::quant::detail::QuantizedTypeStorage
 QuantizedTypeStorage (unsigned flags, Type storageType, Type expressedType, int64_t storageTypeMin, int64_t storageTypeMax)
- Public Member Functions inherited from mlir::TypeStorage
const AbstractTypegetAbstractType ()
 Return the abstract type descriptor for this type. More...

Static Public Member Functions

static CalibratedQuantizedTypeStorageconstruct (TypeStorageAllocator &allocator, const KeyTy &key)
 Construction. More...
static unsigned hashKey (const KeyTy &key)

Public Attributes

double min
double max
- Public Attributes inherited from mlir::quant::detail::QuantizedTypeStorage
unsigned flags
 Flags corresponding to the bitmapped enum QuantizationFlags::FlagValue. More...
Type storageType
Type expressedType
int64_t storageTypeMin
int64_t storageTypeMax

Additional Inherited Members

- Protected Member Functions inherited from mlir::TypeStorage
 TypeStorage ()
 This constructor is used by derived classes as part of the TypeUniquer. More...
- Protected Member Functions inherited from mlir::StorageUniquer::BaseStorage
 BaseStorage ()=default

Detailed Description

Definition at line 256 of file TypeDetail.h.

Constructor & Destructor Documentation

◆ CalibratedQuantizedTypeStorage()

mlir::quant::detail::CalibratedQuantizedTypeStorage::CalibratedQuantizedTypeStorage ( const KeyTy key)

Definition at line 285 of file TypeDetail.h.

Member Function Documentation

◆ construct()

static CalibratedQuantizedTypeStorage* mlir::quant::detail::CalibratedQuantizedTypeStorage::construct ( TypeStorageAllocator allocator,
const KeyTy key 


Definition at line 295 of file TypeDetail.h.

References mlir::StorageUniquer::StorageAllocator::allocate().

◆ hashKey()

static unsigned mlir::quant::detail::CalibratedQuantizedTypeStorage::hashKey ( const KeyTy key)

◆ operator==()

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

Definition at line 289 of file TypeDetail.h.

Member Data Documentation

◆ max

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

Definition at line 303 of file TypeDetail.h.

◆ min

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

Definition at line 302 of file TypeDetail.h.

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