issues
search
rwth-i6
/
pytorch-to-returnn
Make PyTorch code runnable within RETURNN
3
stars
6
forks
source link
allow indexing tensor with none
#81
Closed
vieting
closed
2 years ago
vieting
commented
2 years ago
x[None]
is the same as
x.unsqueeze(0)
.
x[None]
is the same asx.unsqueeze(0)
.