File size: 142 Bytes
e22b55b
 
 
 
1
2
3
4
from tensorflow.keras.utils import plot_model

def visualize_model(model, filename):
    plot_model(model, to_file=filename, show_shapes=True)