diff --git a/onnxruntime/core/providers/coreml/coreml_execution_provider.cc b/onnxruntime/core/providers/coreml/coreml_execution_provider.cc index 226c844e9491e..18540c048b5dc 100644 --- a/onnxruntime/core/providers/coreml/coreml_execution_provider.cc +++ b/onnxruntime/core/providers/coreml/coreml_execution_provider.cc @@ -71,7 +71,7 @@ CoreMLExecutionProvider::GetCapability(const onnxruntime::GraphViewer& graph_vie user_provided_key = std::to_string(std::hash{}(user_provided_key)); } // invalid cache-key - if (user_provided_key.size() == 0){ + if (user_provided_key.size() == 0) { user_provided_key = std::to_string(model_hash); } } else {