From d4cb9db80ace986e8046edbee2d998c62e350b20 Mon Sep 17 00:00:00 2001 From: Jing Jin <8752427+jinjingforever@users.noreply.github.com> Date: Mon, 4 Nov 2024 09:47:09 -0800 Subject: [PATCH] Reformat --- .../src/model_explorer/extension_manager.py | 20 +++++++++---------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/src/server/package/src/model_explorer/extension_manager.py b/src/server/package/src/model_explorer/extension_manager.py index 13ae654f..cc023b3c 100644 --- a/src/server/package/src/model_explorer/extension_manager.py +++ b/src/server/package/src/model_explorer/extension_manager.py @@ -29,17 +29,15 @@ class ExtensionManager(object, metaclass=Singleton): - BUILTIN_ADAPTER_MODULES: list[str] = ( - [ - '.builtin_tflite_flatbuffer_adapter', - '.builtin_tflite_mlir_adapter', - '.builtin_tf_mlir_adapter', - '.builtin_tf_direct_adapter', - '.builtin_graphdef_adapter', - '.builtin_pytorch_exportedprogram_adapter', - '.builtin_mlir_adapter', - ] - ) + BUILTIN_ADAPTER_MODULES: list[str] = [ + '.builtin_tflite_flatbuffer_adapter', + '.builtin_tflite_mlir_adapter', + '.builtin_tf_mlir_adapter', + '.builtin_tf_direct_adapter', + '.builtin_graphdef_adapter', + '.builtin_pytorch_exportedprogram_adapter', + '.builtin_mlir_adapter', + ] CACHED_REGISTERED_EXTENSIONS: Dict[str, RegisteredExtension] = {}