commit | 8176a558277aeec831f2f1a846cb4856a58fb941 | [log] [tgz] |
---|---|---|
author | Rudy Bunel <bunel.rudy@gmail.com> | Thu Sep 07 13:58:06 2017 +0100 |
committer | Soumith Chintala <soumith@gmail.com> | Thu Sep 07 13:22:20 2017 -0400 |
tree | 99414a38f612507eb6a47b69bc1cd24abe5704d0 | |
parent | db78f3cf468549b206c3c8bdc9fb42df86ded2a7 [diff] |
Adjust error message for View When the size given is incorrect for the number of elements, the current error message is: `size '[1 x 1 x 5]' is invalid for input of with 1 elements at /pytorch/torch/lib/TH/THStorage.c:41` This replaces it by `size '[1 x 1 x 5]' is invalid for input with 1 elements at /pytorch/torch/lib/TH/THStorage.c:41` which is grammatically better
Environment variables control the disabling of certain explicit SIMD optimizations.
x64 options: TH_NO_AVX2=1 # disable AVX2 codepaths TH_NO_AVX=1 # disable AVX codepaths TH_NO_SSE=1 # disable SSE codepaths ppc64le options: TH_NO_VSX=1 # disable VSX codepaths