Hi, I am confused about the order of execution of ‘net.cuda()’ and ‘net.load_state_dict’.
Will the following two execution orders produce the same result?
# method 1
net = model(args)
net.cuda()
net.load_state_dict(checkpoints)

# method 2
net = model(args)
net.load_state_dict(checkpoints)
net.cuda()