咨询一下关于paddle resnet50模型动态图concat reduce_mean、reduce_mean_grad、c_broadcast 的作用

toiithl6  于 2022-12-31  发布在  其他
关注(0)|答案(3)|浏览(158)

请提出你的问题 Please ask your question

你好,在打印模型训练log时发现resnet50会执行到concat、reduce_mean、reduce_mean_grad、c_braodcast这些op。我用
netron打开保存的模型并没有发现这些op。能帮忙解释一下为什么会用到这些op,以及这些op在训练过程中的作用吗?非常感谢~

hs1ihplo

hs1ihplo1#

您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看 官网API文档常见问题历史IssueAI社区 来寻求解答。祝您生活愉快~

Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the APIFAQGithub Issue and AI community to get the answer.Have a nice day!

dced5bon

dced5bon2#

都是一些常规的对 Tensor 进行常规操作的 OP, 如果要关注每个 op 的具体说明,可以查询 paddle API 说明文档。

0kjbasz6

0kjbasz63#

用 netron 打开的模型是 inference_model 吧?在保存 inference_model 的时候会裁剪掉一部分在预测阶段不会使用到的 OP.

相关问题