rwth-i6 / pytorch-to-returnn

Make PyTorch code runnable within RETURNN
3 stars 6 forks source link

add tensor.ndimension() #47

Closed vieting closed 3 years ago

vieting commented 3 years ago

tensor.ndimension() is an alias for tensor.dim(), see https://pytorch.org/docs/stable/generated/torch.Tensor.ndimension.html