commit | 596677232cc173b9f61f3de1357ff6d937b82009 | [log] [tgz] |
---|---|---|
author | nkoumchatzky <nkoumchatzky@twitter.com> | Tue Dec 20 19:24:35 2016 -0500 |
committer | nkoumchatzky <nkoumchatzky@twitter.com> | Mon Dec 26 10:23:42 2016 -0500 |
tree | 5a97bb3ad7a83a76697a1f41c9c2e2954cce4fd1 | |
parent | f16a624b35dd28fbd4cdcd3bd08dfc2421c3e2b0 [diff] |
Add a different code path for catting contiguous tensors along the first dimension, for speed reasons. Fix a bug in cat when catting with an empty tensor along first dim (it added an extra dim). Fix the ambiguous 'catting along last dimension' sentence in the doc and change the behavior to pick the maximum last dimension over all input tensors. Now empty tensors are allowed.