提交 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):
"""
Implements assertion in a computational graph.
Notes:
This Op can be removed from the graph because of optimizations. Also, the
output of the Op must be returned by the function computing the graph,
otherwise it will not be used.
This Op can be removed from the graph because of optimizations, and can hide
some possible optimizations to the optimizer.
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]}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论