MLIR 22.0.0git
Quant.h
Go to the documentation of this file.
1//===- Quant.h - Quantization Ops -------------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef MLIR_DIALECT_QUANT_IR_QUANT_H_
10#define MLIR_DIALECT_QUANT_IR_QUANT_H_
11
12#include "mlir/IR/Attributes.h"
13#include "mlir/IR/Builders.h"
15#include "mlir/IR/Dialect.h"
17#include "mlir/IR/Types.h"
20#include "llvm/Support/MathExtras.h"
21
22#include "mlir/Dialect/Quant/IR/QuantOpsDialect.h.inc"
23
24namespace mlir {
25namespace quant {
26
27class QuantizedType;
30
31} // namespace quant
32} // namespace mlir
33
34#define GET_OP_CLASSES
35#include "mlir/Dialect/Quant/IR/QuantOps.h.inc"
36
37#endif // MLIR_DIALECT_QUANT_IR_QUANT_H_
Base class for all quantized types known to this dialect.
Definition QuantTypes.h:50
Represents per-axis (also known as per-channel quantization).
Definition QuantTypes.h:324
Represents a family of uniform, quantized types.
Definition QuantTypes.h:264
Include the generated interface declarations.