Functional model 은 graph 가 코드에 박혀있어서 정적 검사 가능. model.summary() 로 각 layer 의 input/output 보고, keras.utils.plot_model(model, to_file='model.png', show_shapes=True) 로 시각화. graphviz 설치 필요.
복잡한 architecture (멀티 입출력, skip) 디버깅 시 plot 한 번이 백 줄 print 보다 빠름. 학습 전 sanity check 로 강추.