Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wejoncy committed Dec 11, 2024
1 parent b7888c4 commit f492fee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ std::string GetModelOutputPath(const CoreMLOptions& coreml_options,
// different subgraph has different folders. so we need to hash the inputs.
path = std::string(coreml_options.ModelCachePath()) +
"/" + std::to_string(hasher(inputs_collections));
if (!coreml_options_.CreateMLProgram()) {
if (!coreml_options.CreateMLProgram()) {
ORT_THROW_IF_ERROR(Env::Default().CreateFolder(path));
path += "/mlmodel";
}
Expand Down

0 comments on commit f492fee

Please sign in to comment.