摘要: 1、打印梯度 for name, param in model.named_parameters(): if param.requires_grad: if param.grad is not None: print("{}, gradient: {}".format(name, param.gra 阅读全文
posted @ 2020-06-04 16:24 blackx 阅读(2068) 评论(0) 推荐(0) 编辑