From e6059b834a7fa0c32a242ce446c3b07578ec2560 Mon Sep 17 00:00:00 2001 From: huangbingjian Date: Fri, 5 Feb 2021 11:09:07 +0800 Subject: [PATCH] modify depend interface description --- mindspore/ops/operations/other_ops.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mindspore/ops/operations/other_ops.py b/mindspore/ops/operations/other_ops.py index 39a78e59a3..0e70e8823f 100644 --- a/mindspore/ops/operations/other_ops.py +++ b/mindspore/ops/operations/other_ops.py @@ -374,7 +374,8 @@ class Depend(Primitive): Previously, the ControlDepend operator was used to control the execution order. Since the ControlDepend operator is deprecated from version 1.1, it is recommended - to use the Depend operator instead. The replacement method is as follows: + to use the Depend operator instead. The replacement method is as follows:: + a = A(x) ---> a = A(x) b = B(y) ---> y = Depend(y, a) ControlDepend(a, b) ---> b = B(y)