From 0f6ace2c3649255beab55760bee7f95fddf384c3 Mon Sep 17 00:00:00 2001 From: Dwayne Robinson Date: Wed, 25 Mar 2020 00:16:08 -0700 Subject: [PATCH] Fix comments with stale todo's. --- .../dml/DmlExecutionProvider/src/Operators/DmlOperatorRange.cpp | 2 -- .../src/Operators/DmlOperatorReverseSequence.cpp | 2 -- .../DmlExecutionProvider/src/Operators/OperatorRegistration.cpp | 2 +- .../core/providers/dml/OperatorAuthorHelper/OperatorHelper.h | 1 - 4 files changed, 1 insertion(+), 6 deletions(-) diff --git a/onnxruntime/core/providers/dml/DmlExecutionProvider/src/Operators/DmlOperatorRange.cpp b/onnxruntime/core/providers/dml/DmlExecutionProvider/src/Operators/DmlOperatorRange.cpp index 821ba6aaa6..ac7afca1dc 100644 --- a/onnxruntime/core/providers/dml/DmlExecutionProvider/src/Operators/DmlOperatorRange.cpp +++ b/onnxruntime/core/providers/dml/DmlExecutionProvider/src/Operators/DmlOperatorRange.cpp @@ -2,8 +2,6 @@ // Licensed under the MIT License. -// TODO::: - #include "precomp.h" namespace Dml diff --git a/onnxruntime/core/providers/dml/DmlExecutionProvider/src/Operators/DmlOperatorReverseSequence.cpp b/onnxruntime/core/providers/dml/DmlExecutionProvider/src/Operators/DmlOperatorReverseSequence.cpp index 2d8e849cab..f13756043f 100644 --- a/onnxruntime/core/providers/dml/DmlExecutionProvider/src/Operators/DmlOperatorReverseSequence.cpp +++ b/onnxruntime/core/providers/dml/DmlExecutionProvider/src/Operators/DmlOperatorReverseSequence.cpp @@ -2,8 +2,6 @@ // Licensed under the MIT License. -// TODO::: - #include "precomp.h" namespace Dml diff --git a/onnxruntime/core/providers/dml/DmlExecutionProvider/src/Operators/OperatorRegistration.cpp b/onnxruntime/core/providers/dml/DmlExecutionProvider/src/Operators/OperatorRegistration.cpp index 26ea3240a8..92f300969f 100644 --- a/onnxruntime/core/providers/dml/DmlExecutionProvider/src/Operators/OperatorRegistration.cpp +++ b/onnxruntime/core/providers/dml/DmlExecutionProvider/src/Operators/OperatorRegistration.cpp @@ -515,7 +515,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( 10, ReverseSequence, typeNameListDefault, supportedTypeListFloat16to32, DmGraphSupport::Supported)}, // TODO::: data types, why not registered?? + {REG_INFO( 10, ReverseSequence, typeNameListDefault, supportedTypeListFloat16to32, DmGraphSupport::Supported)}, {REG_INFO( 11, CumSum, typeNameListDefault, supportedTypeListFloat16to32, DmGraphSupport::Supported, {1})}, {REG_INFO( 11, Range, typeNameListDefault, supportedTypeListRange, DmGraphSupport::Supported, {0,1,2})}, diff --git a/onnxruntime/core/providers/dml/OperatorAuthorHelper/OperatorHelper.h b/onnxruntime/core/providers/dml/OperatorAuthorHelper/OperatorHelper.h index d63d3214cc..d80b54731e 100644 --- a/onnxruntime/core/providers/dml/OperatorAuthorHelper/OperatorHelper.h +++ b/onnxruntime/core/providers/dml/OperatorAuthorHelper/OperatorHelper.h @@ -1177,7 +1177,6 @@ class ResizeHelper { std::vector m_scales; // Cached scales to check for updates/invalidate operator. }; -//TODO::: class RangeHelper { public: // Info_t is used to obtain attributes which will be used for calculating the output shape later.