code: def glorot(value: Any):
      if isinstance(value, Tensor):
          stdv = math.sqrt(6.0 / (value.size(-2) + value.size(-1)))
          value.data.uniform_(-stdv, stdv)
      else:
          for v in (
              value.parameters() if hasattr(value, "parameters") else []
          ):
              glorot(v)
          for v in value.buffers() if hasattr(value, "buffers") else []:
              glorot(v)
  
file_path: pytorch_geometric/torch_geometric/nn/inits.py
imports: import math
  from typing import Any
  import torch
  from torch import Tensor
label_desc: Use image node_id 3 for calling a global function with example usage: glorot(value) without return types