提交 94c6b189 authored 作者: Valentin Bisson's avatar Valentin Bisson

Updated Assert Op's docstring

上级 bfae3bc0
......@@ -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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论