From c24e90a3a6b09de4b115b2a060e8e402ebc4ec30 Mon Sep 17 00:00:00 2001 From: simson <526422051@qq.com> Date: Fri, 19 Jun 2020 10:21:49 +0800 Subject: [PATCH] Modify the comment of InsertGradientOf --- mindspore/ops/operations/debug_ops.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mindspore/ops/operations/debug_ops.py b/mindspore/ops/operations/debug_ops.py index c4fbddd38e7..c6b635a69fb 100644 --- a/mindspore/ops/operations/debug_ops.py +++ b/mindspore/ops/operations/debug_ops.py @@ -191,7 +191,7 @@ class InsertGradientOf(PrimitiveWithInfer): f (Function): MindSpore's Function. Callback function. Inputs: - - **input_x** (Tensor) - The graph node to attach to. + - **input_x** (Any) - The graph node to attach to. Outputs: Tensor, returns `input_x` directly. `InsertGradientOf` does not affect the forward result.