admin管理员组文章数量:1558078
torch.nn.Module.eval:
Sets the module in evaluation mode.
This has any effect only on certain modules. See documentations of particular modules for details of their behaviors in training/evaluation mode, if they are affected,
这个函数仅对特定的模块有效.有些函数在 training/evaluation 模态下有不同的行为,可以到具体模块的文档去查看在不同模态下有什么不同的行为.
备注:
受"训练模态""评估模态"影响的模块有 "dropout层"及"batch normalization层".其它的暂不知道
版权声明:本文标题:torch.nn.Module.eval 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/dianzi/1727342149a1109545.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论