Commit b0d8082d authored by Andr? Susano Pinto's avatar Andr? Susano Pinto Committed by TensorFlower Gardener
Browse files

Support automatic input conversion for functions loaded via `tf.saved_model.load()`.

Functions loaded via `tf.saved_model.load()` only have the traces that were
available at export time and no new traces can be created. As so we can treat
them as collection of available signatures. This CL adds input conversion to
loaded functions in a similar fashion to what functions with input signatures do.

This feature makes it easier to use a saved_model without knowing the specific
signatures available and makes it possible to share functions with multiple
optional params without requiring an exponential number of traces.

PiperOrigin-RevId: 234757793
parent f6d8f50f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment