code: def init_layer(
      layer: torch.nn.Linear, w_scale=1.0
  ) -> torch.nn.Linear:
      torch.nn.init.orthogonal_(layer.weight.data)
      layer.weight.data.mul_(w_scale)  # type: ignore
      torch.nn.init.constant_(layer.bias.data, 0)
      return layer
  
file_path: DIG/dig/ggraph3D/method/G_SphereNet/model/net_utils.py
imports: import torch
  import torch.nn
label_desc: Use image node_id 1 for calling a global function with example usage: init_layer(layer, w_scale) and returns: layer