From b3f2a793b6358956709f6db1adf51e8038c27745 Mon Sep 17 00:00:00 2001 From: Val Tarasyuk Date: Fri, 22 Nov 2024 15:48:16 -0800 Subject: [PATCH] Add HardTanh to RemovePermutesAroundElementwiseOps (#6992) Differential Revision: D66187338 Pull Request resolved: https://github.com/pytorch/executorch/pull/7036 --- backends/cadence/aot/remove_ops.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backends/cadence/aot/remove_ops.py b/backends/cadence/aot/remove_ops.py index d2251bd9c0..038a219207 100644 --- a/backends/cadence/aot/remove_ops.py +++ b/backends/cadence/aot/remove_ops.py @@ -561,6 +561,7 @@ class Subgraph: exir_ops.edge.aten.mul.Tensor, exir_ops.edge.aten.mean.dim, exir_ops.edge.aten.cat.default, + exir_ops.edge.aten.hardtanh.default, exir_ops.edge.quantized_decomposed.quantize_per_tensor.default, exir_ops.edge.quantized_decomposed.dequantize_per_tensor.default, }