建立当前的ffh胶
# clone gluon
git clone https://github.com/freifunk-gluon/gluon
cd gluon
git checkout master
# clone site conf
git clone https://github.com/freifunkh/site
# apply site patches
git am site/patches/ *
# if you want to test packages in ffh-pac
本文实例讲述了Python使用gluon/mxnet模块实现的mnist手写数字识别功能。分享给大家供大家参考,具体如下:
import gluonbook as gb
from mxnet import autograd,nd,init,gluon
from mxnet.gluon import loss as gloss,data as gdata,nn,utils as gutils
import mxnet as mx
net = nn.Sequential()
with net.na