code: def reset(value: Any):
      if hasattr(value, "reset_parameters"):
          value.reset_parameters()
      else:
          for child in (
              value.children() if hasattr(value, "children") else []
          ):
              reset(child)
  
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 9 for calling a global function with example usage: reset(value) without return types