@tf.function
You can use tf.function to make graphs out of your programs.
It is a transformation tool that creates Python-independent dataflow
graphs out of your Python code. This will help you create performant
and portable models, and it is required to use SavedModel.
Real Raccoon