{"push_id":633046424,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"4a91a7e9c0652135cd17dd9c17de82bc767a7112","before":"cfadb3b1c4cbaaa64e16891df2c51a69e89ea951","commits":[{"sha":"ce1c327bb61f26b1a8881ffa702a1700c3eb822e","author":{"email":"c836a426bd309a8c16cddcf733a9384fa22e00f2@users.noreply.github.com","name":"Ata Mahjoubfar"},"message":"fixed inconsistency in Tensor.__tostring__\n\nThe string that `Tensor.__tostring__` function returns includes size of different dimensions of the tensor (`tensor:size()`), but not the dimension of the tensor (`tensor:dim()`). For example, the dimension of the `torch.rand(7)`, which is obtained by `torch.rand(7):dim()` is 1, whereas Tensor.__tostring__ returns  \r\n`[torch.DoubleTensor of dimension 7]`,\r\nwhich is incorrect. This is a tensor of dimension 1, size 7. The same problem exists for Tensors of dimension 2 and beyond. For instance, for `torch.rand(8,5)` the Tensor.__tostring__ function returns\r\n`[torch.DoubleTensor of dimension 8x5]`\r\ninstead of returning `[torch.DoubleTensor of dimension 2]` as expected by `torch.rand(8,5):dim()`.\r\n\r\nTo fix this issue and make the returned description consistent with the terminology of Torch package (e.g. Tensor:dim() and Tensor:size()), the strings `' of dimension '` have been changed to `' of size '`.","distinct":true,"url":"https://api.github.com/repos/torch/torch7/commits/ce1c327bb61f26b1a8881ffa702a1700c3eb822e"},{"sha":"4a91a7e9c0652135cd17dd9c17de82bc767a7112","author":{"email":"88de463b5797707cf3425f85a415c3d869db732b@gmail.com","name":"Soumith Chintala"},"message":"Merge pull request #203 from atamahjoubfar/patch-2\n\nFixed inconsistency in Tensor.__tostring__","distinct":true,"url":"https://api.github.com/repos/torch/torch7/commits/4a91a7e9c0652135cd17dd9c17de82bc767a7112"}]}