開始使用免費開始

繪製模型

除了摘要列出模型外,你也可以把模型繪製出來,更直觀地了解其結構。 工作環境中已提供你的 model

本練習屬於課程

使用 Keras 的進階深度學習

檢視課程

動手互動練習

試著完成這個範例程式碼,體驗一下這個練習。

# Imports
import matplotlib.pyplot as plt
from tensorflow.keras.utils import plot_model

# Plot the model
____(____, to_file=____)

# Display the image
data = ____
____
plt.show()
編輯並執行程式碼