In model_to_estimator, only run get_weights when there are initialized Keras...
In model_to_estimator, only run get_weights when there are initialized Keras variables(which assumes there exists a session). Otherwise create a session so that we can run get_config(). Actually fix #18193. PiperOrigin-RevId: 192541442
Loading
Please sign in to comment