diff --git a/onnxruntime/core/providers/coreml/builders/impl/conv_op_builder.cc b/onnxruntime/core/providers/coreml/builders/impl/conv_op_builder.cc index 41bb4b63a5883..8b9564310e61e 100644 --- a/onnxruntime/core/providers/coreml/builders/impl/conv_op_builder.cc +++ b/onnxruntime/core/providers/coreml/builders/impl/conv_op_builder.cc @@ -11,10 +11,10 @@ #include "core/providers/coreml/builders/impl/builder_utils.h" #include "core/providers/coreml/builders/model_builder.h" #include "core/providers/coreml/shape_utils.h" -#endif using namespace CoreML::Specification; using namespace CoreML::Specification::MILSpec; +#endif namespace onnxruntime { namespace coreml { diff --git a/onnxruntime/core/providers/coreml/coreml_execution_provider.h b/onnxruntime/core/providers/coreml/coreml_execution_provider.h index 59eb5375bf379..d91a00523aa16 100644 --- a/onnxruntime/core/providers/coreml/coreml_execution_provider.h +++ b/onnxruntime/core/providers/coreml/coreml_execution_provider.h @@ -3,6 +3,7 @@ #pragma once +#include "core/common/inlined_containers.h" #include "core/framework/execution_provider.h" #include "core/providers/coreml/coreml_provider_factory.h" @@ -33,7 +34,7 @@ class CoreMLExecutionProvider : public IExecutionProvider { const int32_t coreml_version_; // > #ifdef __APPLE__OR__TEST__ - std::unordered_map> coreml_models_; + InlinedHashMap> coreml_models_; #endif }; } // namespace onnxruntime