From: Paul Bricman Date: Mon, 18 Sep 2023 14:45:28 +0000 (+0300) Subject: Minor docstring edit to flax.py (#359) X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=e90f60720f90887bb8fafa81f00ad28845da9462;p=safetensors.git Minor docstring edit to flax.py (#359) --- diff --git a/bindings/python/py_src/safetensors/flax.py b/bindings/python/py_src/safetensors/flax.py index 3f7b562..906ae02 100644 --- a/bindings/python/py_src/safetensors/flax.py +++ b/bindings/python/py_src/safetensors/flax.py @@ -65,7 +65,7 @@ def save_file( from jax import numpy as jnp tensors = {"embedding": jnp.zeros((512, 1024)), "attention": jnp.zeros((256, 256))} - save(tensors, "model.safetensors") + save_file(tensors, "model.safetensors") ``` """ np_tensors = _jnp2np(tensors)