code: def init_weights(net, init_type="normal"):
      # print('initialization method [%s]' % init_type)
      if init_type == "normal":
          net.apply(weights_init_normal)
      elif init_type == "xavier":
          net.apply(weights_init_xavier)
      elif init_type == "kaiming":
          net.apply(weights_init_kaiming)
      elif init_type == "orthogonal":
          net.apply(weights_init_orthogonal)
      else:
          raise NotImplementedError(
              "initialization method [%s] is not implemented"
              % init_type
          )
  
imports: import torch
  import torch.nn
  import torch.nn.functional
  from torch.nn import init
label_desc: Use image node_id 5 for calling a global function with example usage: init_weights(net, init_type) without return types