Add warning about assumed input_signatures

PiperOrigin-RevId: 506357398
This commit is contained in:
Faizan Muhammad 2023-02-01 10:33:40 -08:00 committed by TensorFlower Gardener
parent 89c840a213
commit 7afc4ac997

View File

@ -25,7 +25,9 @@
* Using functools.partial with an invalid tf.function input * Using functools.partial with an invalid tf.function input
* tf.function now enforces input parameter names to be valid Python * tf.function now enforces input parameter names to be valid Python
identifiers. Incompatible names are automatically sanitized similarly to identifiers. Incompatible names are automatically sanitized similarly to
existing SavedModel behavior. existing SavedModel signature behavior.
* Parameterless tf.functions are assumed to have an empty input_signature
instead of an undefined one even if the input_signature is unspecified.
* tf.types.experimental.TraceType now requires an additional * tf.types.experimental.TraceType now requires an additional
`placeholder_value` method to be defined. `placeholder_value` method to be defined.
* tf.function now traces with placeholder values generated by TraceType * tf.function now traces with placeholder values generated by TraceType