PyTorch Forums
How to check if Model is on cuda
Martin_Ennemoser
(Martin Ennemoser)
May 14, 2020, 8:07pm
9
You can get the device by:
next(network.parameters()).device
15 Likes
show post in topic