今日,博主对loss函数分别做了三次调试 原文: 本函数共有4000次训练: def plot_cost(self): import matplotlib.pyplot as plt plt.plot(np.arange(len(self.cost_his)), self.cost_his