-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Closed
Labels
module: printingIssues related to the printing format of tensorsIssues related to the printing format of tensorstodoNot as important as medium or high priority tasks, but we will work on these.Not as important as medium or high priority tasks, but we will work on these.
Description
- PyTorch or Caffe2: Pytorch
- How you installed PyTorch (conda, pip, source): pip
- OS: macos 10.13
- PyTorch version: 0.4.0
- Python version: 3.6.5
If I run this code in the interpreter,
import torch
t = torch.tensor([1, 2])
repr(t)I get this output:
tensor([~1,~~2])I put a ~ instead of a space for clarity. As you can see, extra spaces are printed. This happens even if I create a singleton 1D tensor.
Metadata
Metadata
Assignees
Labels
module: printingIssues related to the printing format of tensorsIssues related to the printing format of tensorstodoNot as important as medium or high priority tasks, but we will work on these.Not as important as medium or high priority tasks, but we will work on these.