当前位置:网站首页>【网络迁移】Pytorch中的F.interpolate对应MindSpore哪个方法
【网络迁移】Pytorch中的F.interpolate对应MindSpore哪个方法
2022-08-10 03:28:00 【小乐快乐】
请问,在做mindspore模型迁移时,(self.reduce(base_feats[0]), F.interpolate(self.up_reduce(base_feats[1]),scale_factor=2,mode='nearest')) 里面的F.interpolate函数在mindspores上替换哪个函数呀?我想用mindspore.ops.ResizeNearestNeighbor函数,但是它里面没有scale_factor的参数,应该怎那么处理呀?
【截图信息】

可以考虑下使用 MindSpore 的 nn.ResizeBilinear 接口。
边栏推荐
猜你喜欢

软件测试这些基本类型你知道吗?

测试工作管理与规范

It's almost 35, still "did a little"?What happened to the test workers who had been in the industry for a few years?

RoyalScope分析仪:CAN总线波形台阶和信号幅值低的问题

全面深入了解什么是反向代理和负载均衡

maya图片如何导入

The same is a primary test, why does he pay 5,000 yuan more than me?

软件的生命周期(软件工程各阶段的工作)

中国人保为德科康材承保产品责任险,为消费者权益保驾护航!

shell文本编辑awk
随机推荐
如何开启热部署Devtools
flutter异步
所谓软件测试工作能力强,其实就是这 5 点
leetcode-218.天际线问题
TCP协议之《发送缓存控制tcp_notsent_lowat》
Evaluation and Construction of Enterprise Network Security Capability from the Sliding Ruler Model
TCP协议之《TSQ限值tcp_limit_output_bytes》
MongoDB 常用查询语句
Take you to an in-depth understanding of the version update of 3.4.2, what does it bring to users?
小程序分包及分包预下载
软件的生命周期(软件工程各阶段的工作)
golang gin 框架读取无法用 body 传递的表单参数
中国人保为德科康材承保产品责任险,为消费者权益保驾护航!
shell三剑客之sed命令
No ‘Access-Control-Allow-Origin‘ header is present on the requested resource.
TCP协议之《对端MSS值估算》
ARP Spoofing - Tutorial Details
goland console shows overlapping problem solution
flutter 创建可增型列表和列表排序
获取属性特性几种方法