提交 d40a1495 authored 作者: Frederic's avatar Frederic

Disable given with opfromgraph as it isn't tested

上级 307ab3e4
...@@ -78,8 +78,8 @@ class OpFromGraph(gof.Op): ...@@ -78,8 +78,8 @@ class OpFromGraph(gof.Op):
if not isinstance(i, gof.Variable): if not isinstance(i, gof.Variable):
raise TypeError( raise TypeError(
'inputs and outputs must be Variable instances', i) 'inputs and outputs must be Variable instances', i)
if 'updates' in kwargs: if 'updates' in kwargs or 'givens' in kwargs:
raise TypeError('updates are not allowed in kwargs') raise TypeError('updates and givens are not allowed in kwargs')
# To support correctly shared variables the inner fct should # To support correctly shared variables the inner fct should
# not see them. Otherwise their is problem with the gradient. # not see them. Otherwise their is problem with the gradient.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论