deepmd.jax.jax2tf.serialization#
JAX/jax2tf SavedModel export.
The .savedmodel suffix is the JAX SavedModel artifact used by the JAX C++ inference path. It is intentionally different from the TF2 eager .savedmodeltf artifact: the model body below must pass through jax2tf.convert so TensorFlow stores XlaCallModule nodes. Do not replace this module with the TF2 SavedModel exporter unless the file suffix and C++ loader contract are changed together.
Functions#
| Deserialize the dictionary to a JAX/jax2tf SavedModel. |