Improved scan error message
Two improvements:
- An explicit error is raised if the lambda expression used in scan
returns something that is not made of Theano variables (which may
happen for instance when someone returns a constant value).
- An error is always raised when failing to parse the return value of
the lambda expression
正在显示
请
注册
或者
登录
后发表评论