Unverified Commit 4b0bb6d5 authored by Siby Jose Plathottam's avatar Siby Jose Plathottam Committed by GitHub
Browse files

Fix to 'Model' object has no attribute '_container_nodes' error when using...

Fix to 'Model' object has no attribute '_container_nodes' error when using tf.keras.utils.plot_model().

Fix to #17633. Duplicate of #17658
'Model' object has no attribute '_container_nodes' error when using tf.keras.utils.plot_model().
Replaced
if node_key in model._container_nodes:
with
if node_key in model._network_nodes: # pylint: disable=protected-access

in tensorflow\python\keras_impl\keras\utils\vis_utils.py.
parent b5aaf44f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment