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
Loading
Please sign in to comment