提交 40ee82c2 authored 作者: khaotik's avatar khaotik

fix doc

上级 024c1062
......@@ -20,7 +20,7 @@ class OpFromGraph(gof.Op):
The signature is similar to :func:`theano.function <theano.function>`
and the resulting ``Op``'s perform will do the same operation as::
orig_function(inputs, outputs, \*\*kwargs)
orig_function(inputs, outputs, **kwargs)
Currently does not support ``updates`` or ``givens`` argument.
......@@ -43,7 +43,7 @@ class OpFromGraph(gof.Op):
grad_overrides : single or list of {'default', OpFromGraph, callable, Variable with special type}, optional
Defaults to ``'default'``.
``'default' : Do not override, use default grad() result
``'default'`` : Do not override, use default grad() result
OpFromGraph instance : Override with another OpFromGraph, should
accept inputs as the same order and types of "inputs" and "output_grads"
......@@ -63,7 +63,7 @@ class OpFromGraph(gof.Op):
rop_overrides : single or list of {'default', OpFromGraph, callable, Variable with special type}, optional
Defaults to ``default``.
``default : Do not override, use default R_op() result
``'default'`` : Do not override, use default R_op() result
OpFromGraph instance : Override with another OpFromGraph, should
accept inputs as the same order and types of "inputs" and "output_grads"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论