code: def constant_init(module, constant, bias=0):
      nn.init.constant_(module.weight, constant)
      if hasattr(module, "bias"):
          nn.init.constant_(module.bias, bias)
  
imports: import torch.nn
  import math
  import torch.utils.model_zoo
label_desc: Use image node_id 1 for calling a global function with example usage: constant_init(module, constant, bias) without return types