code: def uniform(size: int, value: Any):
      if isinstance(value, Tensor):
          bound = 1.0 / math.sqrt(size)
          value.data.uniform_(-bound, bound)
      else:
          for v in (
              value.parameters() if hasattr(value, "parameters") else []
          ):
              uniform(size, v)
          for v in value.buffers() if hasattr(value, "buffers") else []:
              uniform(size, 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 1 for calling a global function with example usage: uniform(size, value) without return types