From d3d25b97754edd3ead6618742cfbdca98f6cae68 Mon Sep 17 00:00:00 2001 From: wejoncy Date: Mon, 16 Dec 2024 19:12:15 +0800 Subject: [PATCH] format --- onnxruntime/core/providers/coreml/coreml_execution_provider.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onnxruntime/core/providers/coreml/coreml_execution_provider.cc b/onnxruntime/core/providers/coreml/coreml_execution_provider.cc index a208a44eb39ff..40f5ff09ae20a 100644 --- a/onnxruntime/core/providers/coreml/coreml_execution_provider.cc +++ b/onnxruntime/core/providers/coreml/coreml_execution_provider.cc @@ -67,7 +67,7 @@ CoreMLExecutionProvider::GetCapability(const onnxruntime::GraphViewer& graph_vie user_provided_key = graph_viewer.GetGraph().GetModel().MetaData().at(kCOREML_CACHE_KEY); if (user_provided_key.size() > 32 || std::any_of(user_provided_key.begin(), user_provided_key.end(), - [](unsigned char c) { return !std::isalnum(c); })) { + [](unsigned char c) { return !std::isalnum(c); })) { user_provided_key = std::to_string(std::hash{}(user_provided_key)); } } else {