![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
MXNET
卡贝
这个作者很懒,什么都没留下…
展开
-
[MXNET]绘制Network以及显示Network各层参数
绘制网络模型 import alexnet import mxnet as mx alexnet = alexnet.get_symbol(10) mx.viz.plot_network(alexnet,title='alexnet',save_format='jpg',hide_weights=True).view() 显示各层网络参数 import mxnet as mx...原创 2018-05-31 14:11:20 · 3368 阅读 · 1 评论 -
[MXNET]求导方法以及随机梯度下降笔记
MXNET的导数计算 import mxnet.ndarray as nd import mxnet.autograd as ag x = nd.array([[1, 2], [3, 4]]) x.attach_grad() with ag.record(): y = x * 2 z = y * x z.backward() x.grad == 4*x x.attach_grad...原创 2018-06-01 17:22:06 · 1348 阅读 · 0 评论