提交 49a5a90e authored 作者: nouiz's avatar nouiz

Merge pull request #411 from vlb/master

updated Assert docstring as Fred suggested
...@@ -1215,9 +1215,10 @@ class Assert(T.Op): ...@@ -1215,9 +1215,10 @@ class Assert(T.Op):
""" """
Implements assertion in a computational graph. Implements assertion in a computational graph.
Notes: Notes:
This Op can be removed from the graph because of optimizations. Also, the This Op can be removed from the graph because of optimizations, and can hide
output of the Op must be returned by the function computing the graph, some possible optimizations to the optimizer.
otherwise it will not be used. Also, the output of the Op must be returned by the function computing the
graph, otherwise it will not be used.
""" """
view_map = {0: [0]} view_map = {0: [0]}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论