• Olivier Delalleau's avatar
    Fixed tests when on_shape_error = 'raise' · 73d4fe6c
    Olivier Delalleau 提交于
    It is expected that some implementations of 'infer_shape' raise a ShapeError to
    indicate that they do not know how to compute the shape. In such a situation,
    we should silently fall back to the default implementation, regardless of the
    value of 'on_shape_error' (whose name may be misleading for developers, since
    we want to catch all exceptions *except* ShapeError).
    
    Also, when a bad shape was inferred, we should not raise a ShapeError (which
    may be caught silently), but rather something that indicates that there is a
    serious bug somewhere, like an AssertionError.
    73d4fe6c
名称
最后提交
最后更新
benchmark 正在载入提交数据...
bin 正在载入提交数据...
doc 正在载入提交数据...
theano 正在载入提交数据...
.gitignore 正在载入提交数据...
DESCRIPTION.txt 正在载入提交数据...
EMAIL.0.5.txt 正在载入提交数据...
EMAIL.txt 正在载入提交数据...
HISTORY.txt 正在载入提交数据...
LICENSE.txt 正在载入提交数据...
MANIFEST.in 正在载入提交数据...
NEWS.txt 正在载入提交数据...
README.txt 正在载入提交数据...
Theano.pyproj 正在载入提交数据...
Theano.sln 正在载入提交数据...
distribute_setup.py 正在载入提交数据...
setup.cfg 正在载入提交数据...
setup.py 正在载入提交数据...