We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 184dd40 commit fe56a5fCopy full SHA for fe56a5f
backends/cadence/aot/quantizer/quantizer.py
@@ -6,6 +6,7 @@
6
7
# pyre-strict
8
9
+from dataclasses import dataclass
10
from typing import List, Optional, Tuple, Union
11
12
import torch
@@ -177,6 +178,8 @@ def get_cadence_default_quantizers() -> List[Quantizer]:
177
178
]
179
180
181
+# Note: need dataclass to be used in CI configs through OmegaConf and Hydra
182
+@dataclass
183
class CadenceQuantizer(ComposableQuantizer):
184
"""
185
Generic CadenceQuantizer. Although it can be used directly, it is typically a base
0 commit comments