code: def uniform_init(module, a=0, b=1, bias=0):
      if hasattr(module, "weight") and module.weight is not None:
          nn.init.uniform_(module.weight, a, b)
      if hasattr(module, "bias") and module.bias is not None:
          nn.init.constant_(module.bias, bias)
  
imports: import copy
  import math
  import warnings
  import numpy
  import torch
  import torch.nn
  from torch import Tensor
  from annotator.uniformer.mmcv.utils import Registry, build_from_cfg, get_logger, print_log
label_desc: Use image node_id 6 for calling a global function with example usage: uniform_init(module, a, b, bias) without return types