User Guide:
User API:
Developer API:
Full API:
Unwraps a model from potential containers (as used in distributed training).
model (torch.nn.Module) – The model to unwrap.