摘要:
import tensorflow as tf #模拟异步子线程 存入样本, 主线程 读取样本 # 1. 定义一个队列,1000 Q = tf.FIFOQueue(1000,tf.float32) #2.定义要做的事情 循环 值,+1 放入队列当中 var = tf.Variable(0.0) #实 阅读全文
posted @ 2020-03-28 22:43
高颜值的殺生丸
阅读(235)
评论(0)
推荐(0)
摘要:
import tensorflow as tf #模拟一下同步先处理数据,然后才能取数据训练 #tensorflow当中,运行操作有依赖性 #1.首先定义队列 Q = tf.FIFOQueue(3,tf.float32) #放入一些数据 enq_many = Q.enqueue_many([[0.1 阅读全文
posted @ 2020-03-28 20:06
高颜值的殺生丸
阅读(262)
评论(0)
推荐(0)

浙公网安备 33010602011771号