xref: /aosp_15_r20/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/ir/QuantOpsBase.td (revision b6fb3261f9314811a0f4371741dbb8839866f948)
1/* Copyright 2022 The TensorFlow Authors. All Rights Reserved.
2
3Licensed under the Apache License, Version 2.0 (the "License");
4you may not use this file except in compliance with the License.
5You may obtain a copy of the License at
6
7    http://www.apache.org/licenses/LICENSE-2.0
8
9Unless required by applicable law or agreed to in writing, software
10distributed under the License is distributed on an "AS IS" BASIS,
11WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12See the License for the specific language governing permissions and
13limitations under the License.
14==============================================================================*/
15//
16//===----------------------------------------------------------------------===//
17//
18// Predicates for types in the Quantization dialect.
19//
20//===----------------------------------------------------------------------===//
21
22#ifndef QUANT_FORK_BASE
23#define QUANT_FORK_BASE
24
25include "mlir/IR/OpBase.td"
26
27def QuantizationFork_Dialect : Dialect {
28  let name = "quantfork";
29  let cppNamespace = "::mlir::quantfork";
30
31  let emitAccessorPrefix = kEmitAccessorPrefix_Prefixed;
32}
33
34#endif // QUANT_FORK_BASE
35