code: def param_field(
      default: tp.Any = dataclasses.MISSING,
      *,
      default_factory: tp.Any = dataclasses.MISSING,
      init: bool = True,
      repr: bool = True,
      hash: tp.Optional[bool] = None,
      compare: bool = True,
      metadata: tp.Optional[tp.Mapping[str, tp.Any]] = None,
  ) -> tp.Any:
      return variable_field(
          variables.Param,
          default=default,
          default_factory=default_factory,
          init=init,
          repr=repr,
          hash=hash,
          compare=compare,
          metadata=metadata,
      )
  
file_path: flax/flax/experimental/nnx/nnx/dataclasses.py
imports: import dataclasses
  import typing
  import typing_extensions
  from flax.experimental import nnx
  from flax.experimental.nnx.nnx import pytreelib, variables
label_desc: Use image node_id 4 for calling a global function with example usage: param_field(default) and returns: variable_field