Tensorflow 损失函数定义
import tensorflow as tffrom numpy.random import RandomStatebatch_size = 8x = tf.placeholder(tf.float32, shape=(None, 2), name='x-input')y_ = tf.placeholder(tf.float32, shape=(None, 1), name='y-input')
原创
2017-05-15 16:43:08 ·
316 阅读 ·
0 评论