code_21.py 149 字节
Newer Older
ToTensor's avatar
ToTensor 已提交
1 2
loss_history_test = np.zeros(iterations) # 初始化历史损失
for i in range(iterations): #求训练过程中不同参数带来的测试集损失