diff options
author | gchanan <gregchanan@gmail.com> | 2018-02-23 13:17:27 -0500 |
---|---|---|
committer | Soumith Chintala <soumith@gmail.com> | 2018-02-23 13:17:27 -0500 |
commit | 2130070785033e4badc0e64a9f77d256a3a767c1 (patch) | |
tree | b34c4eec6b8f2969c898725ae9a62aee6c29131c /.travis.yml | |
parent | 6c587e9e677f49bda9e9ee93730477320d0c6f29 (diff) | |
download | pytorch-2130070785033e4badc0e64a9f77d256a3a767c1.tar.gz pytorch-2130070785033e4badc0e64a9f77d256a3a767c1.tar.bz2 pytorch-2130070785033e4badc0e64a9f77d256a3a767c1.zip |
Handle copying empty sparse tensors to/from CPU, GPU. (#5361)
* Handle copying empty sparse tensors to/from CPU, GPU.
This is likely not a robust fix because it special cases the case where both the indices and values are empty
rather than handling each one separately. But this is currently blocking a change introducing devices to constructors.
* Guard sizes being NULL.
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions