From 4504ecd890ff870cd3042ea62b294e81473906c6 Mon Sep 17 00:00:00 2001 From: Corentin Maravat Date: Wed, 8 Jan 2025 18:21:08 +0100 Subject: [PATCH] lint correction --- orttraining/orttraining/core/graph/gradient_builder.cc | 3 +-- orttraining/orttraining/core/graph/gradient_builder.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/orttraining/orttraining/core/graph/gradient_builder.cc b/orttraining/orttraining/core/graph/gradient_builder.cc index 9baf3e6843a6d..43835f07c4b40 100755 --- a/orttraining/orttraining/core/graph/gradient_builder.cc +++ b/orttraining/orttraining/core/graph/gradient_builder.cc @@ -2228,7 +2228,7 @@ IMPLEMENT_GRADIENT_BUILDER(GetResizeGradient) { } IMPLEMENT_GRADIENT_BUILDER(GetAtanGradient) { - // dl/dx = dl/dy * (1/(1+x^2)) + // dl/dx = dl/dy * (1/(1+x^2)) NodeDef one_const_node = OneConstantNode(IElemType(0)); ArgDef one = one_const_node.output_args[0]; std::vector result; @@ -2239,6 +2239,5 @@ IMPLEMENT_GRADIENT_BUILDER(GetAtanGradient) { return result; } - } // namespace training } // namespace onnxruntime diff --git a/orttraining/orttraining/core/graph/gradient_builder.h b/orttraining/orttraining/core/graph/gradient_builder.h index 6928d8ade6016..2b40754b6261f 100755 --- a/orttraining/orttraining/core/graph/gradient_builder.h +++ b/orttraining/orttraining/core/graph/gradient_builder.h @@ -95,7 +95,6 @@ DECLARE_GRADIENT_BUILDER(GetConvTransposeGradient) DECLARE_GRADIENT_BUILDER(GetResizeGradient) DECLARE_GRADIENT_BUILDER(GetAtanGradient) - DECLARE_GRADIENT_BUILDER(GetExternalGradient) } // namespace training