摘要: model.train():打开BN和Droupout model.eval():关闭BN和Droupout loss.backward():loss的梯度回传 optimizer.step():进行一次参数更新 *表示逐点相乘,@表示矩阵相乘 阅读全文
posted @ 2021-08-16 16:54 鲍曼小学生 阅读(75) 评论(0) 推荐(0) 编辑
摘要: https://cloud.tencent.com/developer/article/1433735 阅读全文
posted @ 2021-08-16 16:49 鲍曼小学生 阅读(33) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/bigbennyguo/article/details/87956434 阅读全文
posted @ 2021-08-16 10:52 鲍曼小学生 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 一、单行注释:(注释第一行代码) 1、光标放在首字母之前,shift+#,取消同理。 2、光标放在第一行任意位置(句中句末都可以),ctrl+/,取消同理。 3、光标选中想要注释的某行代码,alt+shift+A,取消同理。 4、光标选中想要注释的某行代码,(1)ctrl+k(2)ctrl+c,取消 阅读全文
posted @ 2021-08-16 09:30 鲍曼小学生 阅读(160) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq_23329167/article/details/83856430/ 阅读全文
posted @ 2021-08-16 09:24 鲍曼小学生 阅读(17) 评论(0) 推荐(0) 编辑