如何理解torch.npu.config.allow_internal_format参数
收藏回复举报
如何理解torch.npu.config.allow_internal_format参数
t('forum.solved') 已解决
新人帖
发表于2024-07-15 21:16:47
0 查看

官网文档中,解释torch.npu.config.allow_internal_format = False,不允许conv私有格式

https://www.hiascend.com/document/detail/zh/Pytorch/60RC1/ptmoddevg/trainingmigrguide/PT_LMTMOG_0059.html

cke_197.png

但是从另外一文档中,解释Conv2d会将格式转为5HD和FZ,这两者是不是有些矛盾?

https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/700alpha003/ptmoddevg/ptmigr/AImpug_0071.html

cke_7991.png

我要发帖子