From 2cc5d3eb1040c2dcfa640e23eb81792b913e6297 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Fri, 29 Nov 2024 11:48:22 +0000 Subject: [PATCH] Please consider the following formatting changes --- Common/ML/src/OrtInterface.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Common/ML/src/OrtInterface.cxx b/Common/ML/src/OrtInterface.cxx index f0d0bacb5094f..eb124ff6f12c9 100644 --- a/Common/ML/src/OrtInterface.cxx +++ b/Common/ML/src/OrtInterface.cxx @@ -113,19 +113,19 @@ void OrtModel::reset(std::unordered_map optionsMap) (pImplOrt->sessionOptions).SetLogSeverityLevel(OrtLoggingLevel(loggingLevel)); pImplOrt->env = std::make_shared( - OrtLoggingLevel(loggingLevel), + OrtLoggingLevel(loggingLevel), (optionsMap["onnx-environment-name"].empty() ? "onnx_model_inference" : optionsMap["onnx-environment-name"].c_str()), // Integrate ORT logging into Fairlogger [](void* param, OrtLoggingLevel severity, const char* category, const char* logid, const char* code_location, const char* message) { - if(severity == ORT_LOGGING_LEVEL_VERBOSE) { + if (severity == ORT_LOGGING_LEVEL_VERBOSE) { LOG(debug) << "(ORT) [" << logid << "|" << category << "|" << code_location << "]: " << message; - } else if(severity == ORT_LOGGING_LEVEL_INFO) { + } else if (severity == ORT_LOGGING_LEVEL_INFO) { LOG(info) << "(ORT) [" << logid << "|" << category << "|" << code_location << "]: " << message; - } else if(severity == ORT_LOGGING_LEVEL_WARNING) { + } else if (severity == ORT_LOGGING_LEVEL_WARNING) { LOG(warning) << "(ORT) [" << logid << "|" << category << "|" << code_location << "]: " << message; - } else if(severity == ORT_LOGGING_LEVEL_ERROR) { + } else if (severity == ORT_LOGGING_LEVEL_ERROR) { LOG(error) << "(ORT) [" << logid << "|" << category << "|" << code_location << "]: " << message; - } else if(severity == ORT_LOGGING_LEVEL_FATAL) { + } else if (severity == ORT_LOGGING_LEVEL_FATAL) { LOG(fatal) << "(ORT) [" << logid << "|" << category << "|" << code_location << "]: " << message; } else { LOG(info) << "(ORT) [" << logid << "|" << category << "|" << code_location << "]: " << message;