Commit ba9bc60c authored by A. Unique TensorFlower's avatar A. Unique TensorFlower Committed by TensorFlower Gardener
Browse files

This CL automatically defuns the inner iteration of the eager Keras fit,...

This CL automatically defuns the inner iteration of the eager Keras fit, evaluate, and predict loops if a model supports defuning. A graph network is marked as supporting defuns if all of its internal layers also support being in a defun. Subclass models and custom layers must be manually marked as supporting defuns in the constructor, by setting `self._can_use_graph_functions=True`

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