How to reach model attributes wrapped by nn.DataParallel?

What if I chage the attribute by this way? Will the models on other GPUs change synchronously?

6 Likes