提交 c22f4e84 authored 作者: Razvan Pascanu's avatar Razvan Pascanu

changed Mode to theano.Mode in tutorial on theano , how to debug

上级 633f9846
...@@ -80,7 +80,7 @@ Check out this one: ...@@ -80,7 +80,7 @@ Check out this one:
.. code-block:: python .. code-block:: python
class PrintEverythingMode(Mode): class PrintEverythingMode(theano.Mode):
def __init__(self): def __init__(self):
def print_eval(i, node, fn): def print_eval(i, node, fn):
print i, node, [input[0] for input in fn.inputs], print i, node, [input[0] for input in fn.inputs],
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论