Skip to content

Commit 2733de8

Browse files
NXP backend: Fix tanh merge conflict. (#13626)
### Summary Fixes a conflict caused by merging support for the `aten.tanh` operator. ### Test plan Tested by the unit tests in `test_tanh_converter.py`. cc @digantdesai @JakeStevens @robert-kalmar
1 parent 37c1958 commit 2733de8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

backends/nxp/backend/ir/converter/node_converters/ops_converters/tanh_converter.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
# This source code is licensed under the BSD-style license found in the
44
# LICENSE file in the root directory of this source tree.
55

6+
from executorch.backends.nxp.backend.custom_delegation_options import (
7+
CustomDelegationOptions,
8+
)
69
from executorch.backends.nxp.backend.ir.converter.node_converter import NodeConverter
710
from executorch.backends.nxp.backend.ir.lib.tflite.BuiltinOperator import (
811
BuiltinOperator,
@@ -17,6 +20,7 @@ class TanhConverter(NodeConverter):
1720
def _is_supported_in_IR(
1821
node: Node,
1922
parameters_mapping: dict[str, Parameter],
23+
custom_delegation_options: CustomDelegationOptions,
2024
) -> bool:
2125
return True
2226

0 commit comments

Comments
 (0)