code: def param_hash(p) -> int:
      """
      Use this to make parameters hashable. This is required because __hash__()
      is not inherited when subclass redefines __eq__(). We only need this when
      the parameter dataclass has a list or dict field.
      """
      return hash(
          tuple(_hash_field(getattr(p, f.name)) for f in fields(p))
      )
  
file_path: ReAgent/reagent/core/configuration.py
imports: import functools
  from dataclasses import Field, fields, MISSING
  from inspect import isclass, Parameter, signature
  from typing import List, Optional, Type, Union
  from reagent.core.dataclasses import dataclass
  from torch import nn
label_desc: Use image node_id 5 for calling a global function with example usage: param_hash(p) and returns: hash