- 博客(2)
- 收藏
- 关注
原创 tensorflow实战2:实现mnist 单层cnn分类
1、数据处理import tensorflow as tf import numpy as np import matplotlib.pyplot as plt from tensorflow.examples.tutorials.mnist import input_datanp.random.seed(20160703) tf.set_random_seed(20160703) mnist =
2017-09-17 14:23:54 547
原创 tensorflow实战1:lstm实现mnist分类
版本:tensorflow1.0.0 1、数据格式 lstm输入维度(batchsize,timestep,input_size) 则将mnist维度转换(-1,28,28),这里面意思就是每一行输入28个数据进入神经网络。当输入到第28次时更新label。import tensorflow as tf import numpy as np from tensorflow.contrib im
2017-09-17 14:09:11 876
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人