diff --git a/mindspore/ops/operations/debug_ops.py b/mindspore/ops/operations/debug_ops.py index c4fbddd38e..c6b635a69f 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.