• Pascal Lamblin's avatar
    dtype of tensor.sum(): forbid downcasting · 6a7aa408
    Pascal Lamblin 提交于
    If the output dtype would force a downcasting of the values
    (for instance, summing a float vector into an integer), a TypeError
    is now raised.
    
    Also, a Sum node has to have a non-None dtype. It is checked in
    make_node because for some reason the pretty-printing mechanism needs to
    instanciate "Sum()".
    6a7aa408
名称
最后提交
最后更新
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 正在载入提交数据...