def i_vis_model(model): from keras.utils import vis_utils SVG(vis_utils.model_to_dot(model, show_shapes=True).create(prog='dot', format='svg'))