Skip to content

Commit 8d3b468

Browse files
committed
Arm backend: Move vgf files to own folder
Follow structure in ethosu folder. Signed-off-by: Erik Lundell <[email protected]> Change-Id: I5f51b87a054414a59245f895e20bf0c6368c4068
1 parent e254f0e commit 8d3b468

File tree

6 files changed

+18
-4
lines changed

6 files changed

+18
-4
lines changed

backends/arm/test/tester/arm_tester.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
from executorch.backends.arm.tosa_partitioner import TOSAPartitioner
6363
from executorch.backends.arm.tosa_specification import get_tosa_spec, TosaSpecification
6464

65-
from executorch.backends.arm.vgf_partitioner import VgfPartitioner
65+
from executorch.backends.arm.vgf import VgfPartitioner
6666

6767
from executorch.backends.test.harness.stages import Stage, StageType
6868
from executorch.backends.xnnpack.test.tester import Tester

backends/arm/vgf/__init__.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Copyright 2025 Arm Limited and/or its affiliates.
2+
#
3+
# This source code is licensed under the BSD-style license found in the
4+
# LICENSE file in the root directory of this source tree.
5+
#
6+
# pyre-unsafe
7+
8+
from .backend import VgfBackend # noqa: F401
9+
from .partitioner import VgfPartitioner # noqa: F401
10+
11+
__all__ = [
12+
"VgfBackend",
13+
"VgfPartitioner",
14+
]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
is_vgf,
1212
) # usort: skip
1313
from executorch.backends.arm.tosa_partitioner import TOSAPartitioner
14-
from executorch.backends.arm.vgf_backend import VgfBackend
14+
from executorch.backends.arm.vgf import VgfBackend
1515
from executorch.exir.backend.compile_spec_schema import CompileSpec
1616
from executorch.exir.backend.partitioner import DelegationSpec
1717
from torch.fx.passes.operator_support import OperatorSupportBase

examples/arm/aot_arm_compiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
MobileNetV2Evaluator,
4040
)
4141

42-
from executorch.backends.arm.vgf_partitioner import VgfPartitioner
42+
from executorch.backends.arm.vgf import VgfPartitioner
4343

4444
# To use Cortex-M backend
4545
from executorch.backends.cortex_m.passes.quantized_op_fusion_pass import (

examples/arm/vgf_minimal_example.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
"outputs": [],
173173
"source": [
174174
"import os\n",
175-
"from executorch.backends.arm.vgf_partitioner import VgfPartitioner\n",
175+
"from executorch.backends.arm.vgf import VgfPartitioner\n",
176176
"from executorch.exir import (\n",
177177
" EdgeCompileConfig,\n",
178178
" ExecutorchBackendConfig,\n",

0 commit comments

Comments
 (0)