Closed vieting closed 3 years ago
Currently it is possible to do something like x.view(1, -1) but in PyTorch you can also do x.view(some_shape) with some_shape=(1, -1).
x.view(1, -1)
x.view(some_shape)
some_shape=(1, -1)
Currently it is possible to do something like
x.view(1, -1)
but in PyTorch you can also dox.view(some_shape)
withsome_shape=(1, -1)
.