会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
一只有恒心的小菜鸟
博客园
首页
新随笔
联系
管理
2017年9月11日
How to create own operator with python in mxnet?
摘要: 继承CustomOp 定义操作符,重写前向后向方法,此时可以通过_init__ 方法传递需要用到的参数 1 class LossLayer(mxnet.operator.CustomOp): 2 def __init__(self, *args, **kwargs): 3 super(LossLay
阅读全文
posted @ 2017-09-11 15:43 一只有恒心的小菜鸟
阅读(1304)
评论(0)
推荐(0)
公告