Are view() in Pytorch and reshape() in Numpy similar?
-
31-10-2019 - |
Question
Are view()
in torch and reshape()
in Numpy similar?
view()
is applied on torch tensors to change their shape and reshape()
is a numpy function to change shape of ndarrays.
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with datascience.stackexchange