• Olivier Delalleau's avatar
    Improved scan error message · 0793fd51
    Olivier Delalleau 提交于
    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
    0793fd51
scan_utils.py 31.9 KB