!13373 Fix the format of note in the recompute api

From: @ginfung
Reviewed-by: @hwhewei,@zh_qh
Signed-off-by: @zh_qh
This commit is contained in:
mindspore-ci-bot 2021-03-17 17:07:50 +08:00 committed by Gitee
commit 8e307818d0
2 changed files with 5 additions and 3 deletions

View File

@ -1162,6 +1162,7 @@ class Cell(Cell_):
intermediate activation computed in forward pass, we will recompute it in backward pass.
Note:
- If the computation involves something like randomization or global variable, the equivalence
is not guaranteed currently.
- If the recompute api of a primitive in this cell is also called, the recompute mode of this

View File

@ -227,6 +227,7 @@ class Primitive(Primitive_):
pass, we will recompute it in backward pass.
Note:
- If the computation involves something like randomization or global variable, the equivalence
is not guaranteed currently.