• 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
名称
最后提交
最后更新
..
deprecated 正在载入提交数据...
nnet 正在载入提交数据...
signal 正在载入提交数据...
tests 正在载入提交数据...
__init__.py 正在载入提交数据...
basic.py 正在载入提交数据...
blas.py 正在载入提交数据...
blas_headers.py 正在载入提交数据...
blas_scipy.py 正在载入提交数据...
elemwise.py 正在载入提交数据...
elemwise_cgen.py 正在载入提交数据...
inplace.py 正在载入提交数据...
opt.py 正在载入提交数据...
opt_uncanonicalize.py 正在载入提交数据...
randomstreams.py 正在载入提交数据...
raw_random.py 正在载入提交数据...
shared_randomstreams.py 正在载入提交数据...
sharedvar.py 正在载入提交数据...
tensor_grad.py 正在载入提交数据...
xlogx.py 正在载入提交数据...