How to check if Model is on cuda

You can get the device by:

next(network.parameters()).device
15 Likes