提交 1c74b367 authored 作者: Joseph Turian's avatar Joseph Turian

Small changes

上级 1e01cf23
......@@ -4,10 +4,12 @@ import tensor
import sparse
import compile
import gradient
import opt
import tensor_opt
import scalar_opt
from tensor import *
from compile import *
from opt import *
from tensor_opt import *
from scalar_opt import *
from gradient import *
......@@ -139,10 +139,10 @@ class Op(object):
"""
Shallow copy of this L{Op}. The inputs are the exact same, but
the outputs are recreated because of the one-owner-per-result
policy. The default behavior is to call the constructor on
this L{Op}'s inputs.
policy. The default behavior is to call the constructor on this
L{Op}'s inputs.
To do a bottom-up copy of a graph, use clone_with_new_inputs.
To do a bottom-up copy of a graph, use L{clone_with_new_inputs}.
@attention: If your L{Op} has additional options or a different
constructor you probably want to override this.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论