提交 d3530b07 authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

Fix typos and wording.

上级 adb4f3b7
...@@ -272,13 +272,12 @@ Optional methods or attributes ...@@ -272,13 +272,12 @@ Optional methods or attributes
If you define this function then it will be used instead of C code If you define this function then it will be used instead of C code
or perform() to do the computation while debugging (currently or perform() to do the computation while debugging (currently
DebugMode, but others amy also use it in the future). It has the DebugMode, but others may also use it in the future). It has the
same signature and contract as :func:`perform`. same signature and contract as :func:`perform`.
This enables ops that don't have a deterministic output for This enables ops that cause trouble with DebugMode with their
efficiency reasons to make their output determinisitic or do fix normal behaviour to adopt a different one when run under that
problems that they encounter with DebugMode. If your op doesn't mode. If your op doesn't have any problems, don't implement this.
have any problems, don't implement this.
If you want your op to work with gradient.grad() you also need to If you want your op to work with gradient.grad() you also need to
implement the functions described below. implement the functions described below.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论