score:3
You need to install graphvis and pydot, but you might like the results from this. It doesn't make a table but the graph is much better in my opinion.
from keras.utils import plot_model
plot_model(model, to_file='model.png', show_shapes=True,show_layer_names=True)
But you would have to make properly named sub models if you want to nest the several layers together.
Credit To: stackoverflow.com