code_8.py 164 字节
Newer Older
ToTensor's avatar
ToTensor 已提交
1 2 3 4 5 6
import matplotlib.pyplot as plt # 导入Matplotlib库
plt.figure(figsize=(16, 5))
plt.subplot(1, 2, 1)
plt.plot(r_history)
plt.subplot(1, 2, 2)
plt.plot(j_history)