how to check weather my model is on gpu in pytorch

Solutions on MaxInterview for how to check weather my model is on gpu in pytorch by the best coders in the world

showing results for - "how to check weather my model is on gpu in pytorch"
Imene
23 Jan 2017
1next(network.parameters()).device
2