code: def unwrap_model(model):
      """Remove the DistributedDataParallel wrapper if present."""
      wrapped = isinstance(
          model, torch.nn.parallel.distributed.DistributedDataParallel
      )
      return model.module if wrapped else model
  
file_path: pycls/pycls/core/net.py
imports: import itertools
  import numpy
  import pycls.core.distributed
  import torch
  from pycls.core.config import cfg
label_desc: Use image node_id 1 for calling a global function with example usage: unwrap_model(model) and returns: unknown