标签平滑的实现
程序员文章站
2024-03-24 11:16:40
...
if running_loss is None:
running_loss = loss.item()
else:
running_loss = running_loss * .99 + loss.item()*.01
下一篇: SwitchButton平滑按钮的实现