xref: /aosp_15_r20/external/executorch/backends/qualcomm/partition/common_defs.py (revision 523fa7a60841cd1ecfb9cc4201f1ca8b03ed023a)
1# Copyright (c) Qualcomm Innovation Center, Inc.
2# All rights reserved
3#
4# This source code is licensed under the BSD-style license found in the
5# LICENSE file in the root directory of this source tree.
6import _operator
7
8from executorch.exir.dialects._ops import ops as exir_ops
9
10
11not_supported_operator = [
12    exir_ops.edge.aten.arange.start_step,
13    exir_ops.edge.aten.clone.default,
14    exir_ops.edge.aten.full.default,
15    exir_ops.edge.aten.slice_scatter.default,
16    exir_ops.edge.aten.copy.default,
17]
18
19to_be_implemented_operator = [
20    exir_ops.edge.aten.any.dim,
21    exir_ops.edge.aten.eq.Scalar,
22    exir_ops.edge.aten.full_like.default,
23    exir_ops.edge.aten.logical_not.default,
24    exir_ops.edge.aten.where.self,
25]
26
27allow_list_operator = [
28    _operator.getitem,
29]
30