From 551d28be9a162422f41487a76bc653b2e60b9b4a Mon Sep 17 00:00:00 2001 From: Dwayne Robinson Date: Fri, 13 Mar 2020 19:06:00 -0700 Subject: [PATCH] Update. --- .../DmlExecutionProvider/src/Operators/OperatorRegistration.cpp | 2 +- .../providers/dml/OperatorAuthorHelper/OperatorRegistration.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/onnxruntime/core/providers/dml/DmlExecutionProvider/src/Operators/OperatorRegistration.cpp b/onnxruntime/core/providers/dml/DmlExecutionProvider/src/Operators/OperatorRegistration.cpp index 077cc38c3d..ee096592ab 100644 --- a/onnxruntime/core/providers/dml/DmlExecutionProvider/src/Operators/OperatorRegistration.cpp +++ b/onnxruntime/core/providers/dml/DmlExecutionProvider/src/Operators/OperatorRegistration.cpp @@ -508,7 +508,7 @@ const static OperatorRegistrationInformation operatorRegistrationInformationTabl {REG_INFO( 10, Mod, typeNameListDefault, supportedTypeListNumericDefault, DmGraphSupport::Supported)}, {REG_INFO( 11, BitShift, typeNameListDefault, supportedTypeListInt8to32, DmGraphSupport::Supported)}, {REG_INFO( 11, Round, typeNameListDefault, supportedTypeListFloat16to32, DmGraphSupport::Supported)}, - {REG_INFO( 11, ReverseSequence, typeNameListDefault, supportedTypeListFloat16to32, DmGraphSupport::Supported)}, // TODO::: data types + {REG_INFO( 10, ReverseSequence, typeNameListDefault, supportedTypeListFloat16to32, DmGraphSupport::Supported)}, // TODO::: data types, why not registered?? {REG_INFO( 11, CumSum, typeNameListDefault, supportedTypeListFloat16to32, DmGraphSupport::Supported)}, // {REG_INFO( 11, Range, typeNameListDefault, supportedTypeListFloat16to32, DmGraphSupport::Supported), {0,1,2}}, #if 0 diff --git a/onnxruntime/core/providers/dml/OperatorAuthorHelper/OperatorRegistration.h b/onnxruntime/core/providers/dml/OperatorAuthorHelper/OperatorRegistration.h index 8e55c78497..9d8cb743ea 100644 --- a/onnxruntime/core/providers/dml/OperatorAuthorHelper/OperatorRegistration.h +++ b/onnxruntime/core/providers/dml/OperatorAuthorHelper/OperatorRegistration.h @@ -185,6 +185,7 @@ namespace OperatorHelper static const int sc_sinceVer_DropOut = 10; static const int sc_sinceVer_RoiAlign = 10; static const int sc_sinceVer_TopK = 10; + static const int sc_sinceVer_ReverseSequence = 10; } // namespace OnnxOperatorSet10 namespace OnnxOperatorSet11 @@ -221,7 +222,6 @@ namespace OperatorHelper static const int sc_sinceVer_ReduceSum = 11; static const int sc_sinceVer_ReduceSumSquare = 11; static const int sc_sinceVer_Resize = 11; - static const int sc_sinceVer_ReverseSequence = 11; static const int sc_sinceVer_Round = 11; static const int sc_sinceVer_Scan = 11; static const int sc_sinceVer_ScatterElements = 11;