MLIR 24.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/Types.h"
18#include "llvm/Support/MathExtras.h"
19
20#include "mlir/Dialect/Quant/IR/QuantOpsDialect.h.inc"
21
22namespace mlir {
23namespace quant {
24
25class QuantizedType;
28class QuantileType;
29
30} // namespace quant
31} // namespace mlir
32
33#define GET_OP_CLASSES
34#include "mlir/Dialect/Quant/IR/QuantOps.h.inc"
35
36#endif // MLIR_DIALECT_QUANT_IR_QUANT_H_
Base class for all quantized types known to this dialect.
Definition QuantTypes.h:51
Represents per-axis (also known as per-channel quantization).
Definition QuantTypes.h:325
Represents a family of uniform, quantized types.
Definition QuantTypes.h:265
Include the generated interface declarations.