摘要: import os import tab import tensorflow as tf from numpy.random import RandomState print "hello tensorflow 4.1" batch_size = 8 x = tf.placeholder(tf.float32,shape=(None,2),name='x-input') y_ = tf.p... 阅读全文
posted @ 2018-11-06 17:21 苍洱 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 和tensorflow的版本有关系 新版本 将tf.select替换为tf.where 阅读全文
posted @ 2018-11-06 14:52 苍洱 阅读(918) 评论(0) 推荐(0) 编辑