From 516ac7e090266ebaf0ec7954ad28b5abcabe5016 Mon Sep 17 00:00:00 2001 From: nihui <171016+nihui@users.noreply.github.com> Date: Sat, 8 Feb 2025 06:39:18 +0000 Subject: [PATCH] apply code-format changes --- tools/pnnx/src/main.cpp | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/tools/pnnx/src/main.cpp b/tools/pnnx/src/main.cpp index ba5e1a7bc76..3160af550ef 100644 --- a/tools/pnnx/src/main.cpp +++ b/tools/pnnx/src/main.cpp @@ -325,21 +325,21 @@ int main(int argc, char** argv) else #endif #if BUILD_ONNX2PNNX - if (!model_file_maybe_torchscript(ptpath)) - { - load_onnx(ptpath.c_str(), pnnx_graph, - input_shapes, input_types, - input_shapes2, input_types2); - } - else + if (!model_file_maybe_torchscript(ptpath)) + { + load_onnx(ptpath.c_str(), pnnx_graph, + input_shapes, input_types, + input_shapes2, input_types2); + } + else #endif - { - load_torchscript(ptpath, pnnx_graph, - device, input_shapes, input_types, - input_shapes2, input_types2, - customop_modules, module_operators, - foldable_constants_zippath, foldable_constants); - } + { + load_torchscript(ptpath, pnnx_graph, + device, input_shapes, input_types, + input_shapes2, input_types2, + customop_modules, module_operators, + foldable_constants_zippath, foldable_constants); + } fprintf(stderr, "############# pass_level2\n");