提交 ab249ff2 authored 作者: Olivier Delalleau's avatar Olivier Delalleau

More explicit error message: theano/compile/sandbox/pfunc.py

上级 ce329333
...@@ -148,7 +148,7 @@ def _pfunc_param_to_in(param): ...@@ -148,7 +148,7 @@ def _pfunc_param_to_in(param):
mutable=param.mutable, mutable=param.mutable,
strict=param.strict, strict=param.strict,
implicit = param.implicit) implicit = param.implicit)
raise NotImplementedError() raise NotImplementedError('Unknown parameter type: %s' % type(param))
def iter_over_pairs(pairs): def iter_over_pairs(pairs):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论