摘要: 1. F.binary_cross_entropy_with_logits 在BCELoss前自动添加了sigmoid函数来归一化pred,简化结果2. F.cross_entropy 是softmax + log + null_loss的集成函数其中softmax函数用于归一化数值,其每个样本的类 阅读全文
posted @ 2022-09-21 10:11 Anm半夏 阅读(52) 评论(0) 推荐(0) 编辑