Create check_graphviz function to be called in tf.keras.utils.plot_model and change check_pydot to only check for installation of pydot.
Create check_graphviz function to be called in tf.keras.utils.plot_model and change check_pydot to only check for installation of pydot.

Changing check_pydot since the tf.keras.utils.model_to_dot method does not perform rendering and does not need graphviz, but the plot_model method which calls it does.

PiperOrigin-RevId: 443199287

keras-team/keras,keras-team/keras