Skip to content

Commit 1689ed8

Browse files
kirklandsignfacebook-github-bot
authored andcommitted
Fix linter (#1989)
Summary: Pull Request resolved: #1989 Reviewed By: JacobSzwejbka Differential Revision: D53823460 Pulled By: kirklandsign fbshipit-source-id: 9bf1e7987d7f77e89ca469f963bd538c8432b4ff
1 parent 40356ef commit 1689ed8

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

backends/apple/coreml/test/test_coreml_partitioner.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@
44

55
import unittest
66

7+
import executorch.exir
8+
79
import torch
810
import torchvision
9-
import executorch.exir
1011

11-
from executorch.backends.apple.coreml.compiler import CoreMLBackend
12-
from executorch.backends.apple.coreml.partition.coreml_partitioner import CoreMLPartitioner
12+
from executorch.backends.apple.coreml.partition.coreml_partitioner import (
13+
CoreMLPartitioner,
14+
)
1315

1416

1517
class TestCoreMLPartitioner(unittest.TestCase):
@@ -54,7 +56,9 @@ def test_vit_skip_conv(self):
5456
exir_program_aten = torch.export.export(model, example_inputs)
5557
edge_program_manager = executorch.exir.to_edge(exir_program_aten)
5658
delegated_program_manager = edge_program_manager.to_backend(
57-
CoreMLPartitioner(skip_ops_for_coreml_delegation=["aten.convolution.default"])
59+
CoreMLPartitioner(
60+
skip_ops_for_coreml_delegation=["aten.convolution.default"]
61+
)
5862
)
5963

6064
assert [

extension/android/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ add_subdirectory(
2020

2121
if(NOT CMAKE_TOOLCHAIN_FILE MATCHES ".*ios\.toolchain\.cmake$")
2222
add_library(executorch_jni SHARED jni/jni_layer.cpp)
23-
target_link_libraries(executorch_jni extension_data_loader extension_module xnn_executor_runner_lib fbjni)
23+
target_link_libraries(executorch_jni extension_data_loader
24+
extension_module xnn_executor_runner_lib fbjni)
2425
if(EXECUTORCH_BUILD_QNN)
2526
target_link_libraries(executorch_jni qnn_executorch_backend)
2627
endif()

0 commit comments

Comments
 (0)