提交 c9eb04c2 authored 作者: Ian Goodfellow's avatar Ian Goodfellow

documentation update

the module level docstring of test_printing actually described the only test in the file I wrote a more appropriate module level docstring and moved the existing docstring into the test itself
上级 694a42cc
""" """
This is a REALLY PARTIAL TEST. Tests of printing functionality
I did them to help debug stuff.
""" """
import logging import logging
import StringIO import StringIO
...@@ -10,8 +7,16 @@ import StringIO ...@@ -10,8 +7,16 @@ import StringIO
import theano import theano
import theano.tensor as tensor import theano.tensor as tensor
from theano.printing import min_informative_str
def test_pydotprint_cond_highlight(): def test_pydotprint_cond_highlight():
"""
This is a REALLY PARTIAL TEST.
I did them to help debug stuff.
"""
x = tensor.dvector() x = tensor.dvector()
f = theano.function([x], x*2) f = theano.function([x], x*2)
f([1,2,3,4]) f([1,2,3,4])
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论