code: def _stable_hash(data: tp.Sequence[tp.Hashable]) -> int:
      hash_str = " ".join(str(x) for x in data)
      _hash = hashlib.blake2s(hash_str.encode())
      hash_bytes = _hash.digest()
      # uint32 is represented as 4 bytes in big endian
      return int.from_bytes(hash_bytes[:4], byteorder="big")
  
imports: from __future__ import annotations
  import dataclasses
  import hashlib
  import typing
  import jax
  import numpy
  from flax.experimental.nnx.nnx import errors, filterlib, tracers
label_desc: Use image node_id 1 for calling a global function with example usage: _stable_hash(data) and returns: int