diff options
Diffstat (limited to 'ethosu/vela/extract_npu_subgraphs.py')
-rw-r--r-- | ethosu/vela/extract_npu_subgraphs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ethosu/vela/extract_npu_subgraphs.py b/ethosu/vela/extract_npu_subgraphs.py index bf637b83..5e9a5b53 100644 --- a/ethosu/vela/extract_npu_subgraphs.py +++ b/ethosu/vela/extract_npu_subgraphs.py @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: Copyright 2020-2022 Arm Limited and/or its affiliates <open-source-office@arm.com> +# SPDX-FileCopyrightText: Copyright 2020-2023 Arm Limited and/or its affiliates <open-source-office@arm.com> # # SPDX-License-Identifier: Apache-2.0 # @@ -250,7 +250,7 @@ def extract_subgraph(nng, orig_sg, arch): for tens in curr_sg.output_tensors: # ofm can depend on multiple ops. These ops can be divided into different NPU # nodes due to CPU nodes. If that is the case the ofm must be NHWC. - tens.needs_linear_format = True + tens.force_linear_format = True return new_subgraphs |