code: def _save(filename, tensors, prefix=""):
      with h5py.File(filename, "w") as f:
          for name, tensor in tensors.items():
              tensor = tensor.numpy()
              dset = f.create_dataset(
                  name, tensor.shape, dtype=tensor.dtype
              )
              dset[:] = tensor
  
file_path: safetensors/bindings/python/benches/test_tf.py
imports: import os
  import tempfile
  import h5py
  import numpy
  import tensorflow
  from safetensors.tensorflow import load_file, save_file
label_desc: Use image node_id 2 for calling a global function with example usage: _save(filename, tensors, prefix) without return types