docs: def array_sha256(a):
      """Create a SHA256 hash from a Numpy array."""
      dtype = str(a.dtype).encode()
      shape = numpy.array(a.shape)
      sha = hashlib.sha256()
      sha.update(dtype)
      sha.update(shape)
      sha.update(a.tobytes())
      return sha.hexdigest()