I am a beginner in tensorflow. I have a data set with 43 inputs and one output. I am gonna create a mini-batch of the data to run deep learning.
Here are my inputs:
x = tf.placeholder(tf.float32, shape=[None, 43])
y_ = tf.placeholder(tf.float32, shape=[None])
which I am feeding them from a matlab file, looking:
train_mat = train_mat["binary_train"].value
feed_dict={x:Train[0:100,0:43] , y_:Train[0:100,43]}
I am gonna have random batch instead of calling 0:100 records. I saw
tf.train.batch
but, I could not realize how does it work. Could you please guide me how I can do that.
Thanks, Afshin
Aucun commentaire:
Enregistrer un commentaire