From ce79366472f6e1e8dca61eebee201160c73b1d32 Mon Sep 17 00:00:00 2001 From: huangbingjian Date: Sat, 30 Jan 2021 11:19:47 +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 f87d684000..b411e12875 100644 --- a/mindspore/ops/operations/other_ops.py +++ b/mindspore/ops/operations/other_ops.py @@ -423,7 +423,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)