diff --git a/onnxruntime/core/providers/dml/DmlExecutionProvider/src/Operators/OperatorUtility.h b/onnxruntime/core/providers/dml/DmlExecutionProvider/src/Operators/OperatorUtility.h index a0e5d8aaeb..3893bc0019 100644 --- a/onnxruntime/core/providers/dml/DmlExecutionProvider/src/Operators/OperatorUtility.h +++ b/onnxruntime/core/providers/dml/DmlExecutionProvider/src/Operators/OperatorUtility.h @@ -70,6 +70,8 @@ namespace Dml uint32_t index; }; + std::optional TryMapStringToIndex(std::string_view mode, gsl::span nameAndIndexList); + template std::optional TryMapStringToIndex(std::string_view mode, gsl::span nameAndIndexList) { @@ -78,10 +80,8 @@ namespace Dml return *reinterpret_cast*>(std::addressof(result)); } - std::optional TryMapStringToIndex(std::string_view mode, gsl::span nameAndIndexList); - DML_INTERPOLATION_MODE MapStringToInteropolationMode(std::string_view mode); DML_DEPTH_SPACE_ORDER MapStringToDepthSpaceMode(std::string_view mode); -} // namespace Dml \ No newline at end of file +} // namespace Dml