摘要: sess.run(fetches, feed_dict=None, options=None, run_metadata=None) tf.Session.run() 执行 fetches 中的操作,计算 fetches 中的张量值。 这个函数执行一步 TensorFlow 运算,通过运行必要的图块 阅读全文
posted @ 2019-12-04 21:52 blueattack 阅读(247) 评论(0) 推荐(0) 编辑
摘要: tf.name_scope() 在 Tensorflow 当中有两种途径生成变量 variable, 一种是 tf.get_variable(), 另一种是 tf.Variable(). 如果在 tf.name_scope() 的框架下使用这两种方式, 结果会如下. import tensorflo 阅读全文
posted @ 2019-12-04 21:04 blueattack 阅读(489) 评论(0) 推荐(0) 编辑