code: def glorot(tensor):
      if tensor is not None:
          stdv = math.sqrt(6.0 / (tensor.size(-2) + tensor.size(-1)))
          tensor.data.uniform_(-stdv, stdv)
  
file_path: dgl/examples/pytorch/arma/model.py
imports: import math
  import dgl.function
  import torch
  import torch.nn
  import torch.nn.functional
label_desc: Use image node_id 1 for calling a global function with example usage: glorot(tensor) without return types