提交 80bc0102 authored 作者: Ian Goodfellow's avatar Ian Goodfellow

fixed typo in a PureOp exception

上级 e9299c5d
...@@ -344,7 +344,7 @@ class PureOp(object): ...@@ -344,7 +344,7 @@ class PureOp(object):
# ensure that the test value is correct # ensure that the test value is correct
return v.type.filter(v.tag.test_value) return v.type.filter(v.tag.test_value)
raise AttributeError('%s has not test value' % v) raise AttributeError('%s has no test value' % v)
def __call__(self, *inputs, **kwargs): def __call__(self, *inputs, **kwargs):
"""Optional: Return some or all output[s] of `make_node`. """Optional: Return some or all output[s] of `make_node`.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论