Serialize tensors in PyTorch 0.4 (#2033)
Serialize tensors in PyTorch 0.4 (#2033)

As of PyTorch 0.4.0, `type(t)` where `t` is a tensor will always equal `torch.Tensor`. To get the original types, you need to call `t.type()`. This change fixes serialization for torch tensors. Otherwise, they're truncated (at least upon deserialization in Ray).
majetideepak/arrow,wesm/arrow,itaiin/arrow,pcmoritz/arrow,laurentgo/arrow,apache/arrow,laurentgo/arrow,xhochy/arrow,cpcloud/arrow,cpcloud/arrow,pcmoritz/arrow,apache/arrow,itaiin/arrow,laurentgo/arrow,apache/arrow,icexelloss/arrow,renesugar/arrow,kou/arrow,xhochy/arrow,itaiin/arrow,wesm/arrow,majetideepak/arrow,renesugar/arrow,itaiin/arrow,majetideepak/arrow,xhochy/arrow,wesm/arrow,renesugar/arrow,majetideepak/arrow,laurentgo/arrow,icexelloss/arrow,apache/arrow,wesm/arrow,wesm/arrow,icexelloss/arrow,pcmoritz/arrow,cpcloud/arrow,itaiin/arrow,laurentgo/arrow,xhochy/arrow,xhochy/arrow,majetideepak/arrow,tebeka/arrow,xhochy/arrow,tebeka/arrow,xhochy/arrow,icexelloss/arrow,laurentgo/arrow,tebeka/arrow,laurentgo/arrow,icexelloss/arrow,icexelloss/arrow,tebeka/arrow,wesm/arrow,apache/arrow,renesugar/arrow,pcmoritz/arrow,xhochy/arrow,kou/arrow,kou/arrow,cpcloud/arrow,wesm/arrow,cpcloud/arrow,apache/arrow,renesugar/arrow,itaiin/arrow,pcmoritz/arrow,laurentgo/arrow,apache/arrow,renesugar/arrow,laurentgo/arrow,tebeka/arrow,pcmoritz/arrow,wesm/arrow,icexelloss/arrow,apache/arrow,cpcloud/arrow,icexelloss/arrow,kou/arrow,laurentgo/arrow,renesugar/arrow,pcmoritz/arrow,renesugar/arrow,pcmoritz/arrow,wesm/arrow,tebeka/arrow,xhochy/arrow,xhochy/arrow,kou/arrow,majetideepak/arrow,cpcloud/arrow,majetideepak/arrow,apache/arrow,tebeka/arrow,renesugar/arrow,xhochy/arrow,icexelloss/arrow,cpcloud/arrow,renesugar/arrow,xhochy/arrow,icexelloss/arrow,apache/arrow,laurentgo/arrow,icexelloss/arrow,pcmoritz/arrow,renesugar/arrow,icexelloss/arrow,itaiin/arrow,laurentgo/arrow,pcmoritz/arrow,kou/arrow,renesugar/arrow,icexelloss/arrow,majetideepak/arrow,renesugar/arrow,kou/arrow,wesm/arrow,xhochy/arrow,itaiin/arrow,majetideepak/arrow,pcmoritz/arrow,itaiin/arrow,cpcloud/arrow,cpcloud/arrow,majetideepak/arrow,laurentgo/arrow,kou/arrow,tebeka/arrow,majetideepak/arrow,kou/arrow,kou/arrow,pcmoritz/arrow,itaiin/arrow,icexelloss/arrow,majetideepak/arrow,tebeka/arrow,apache/arrow,majetideepak/arrow,kou/arrow,pcmoritz/arrow,renesugar/arrow,pcmoritz/arrow,kou/arrow,wesm/arrow,pcmoritz/arrow,itaiin/arrow,cpcloud/arrow,kou/arrow,cpcloud/arrow,tebeka/arrow,cpcloud/arrow,laurentgo/arrow,xhochy/arrow,kou/arrow,majetideepak/arrow,majetideepak/arrow,apache/arrow,itaiin/arrow,renesugar/arrow,wesm/arrow,wesm/arrow,apache/arrow,apache/arrow,itaiin/arrow,itaiin/arrow,wesm/arrow,laurentgo/arrow,itaiin/arrow,xhochy/arrow,cpcloud/arrow