Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/tensorflow/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
tf.contrib.learn.io.numpy_input_fn参数是什么意思?_Numpy_Tensorflow - Fatal编程技术网

tf.contrib.learn.io.numpy_input_fn参数是什么意思?

tf.contrib.learn.io.numpy_input_fn参数是什么意思?,numpy,tensorflow,Numpy,Tensorflow,各位!! 我是Tensorflow的新手。在,我得到了tf.contrib.learn.io.numpy\u输入fn({“x”:x\u train},y\u train,4,num\u epochs=1000)源代码。我想知道batch\u size和num\u epochs是什么意思?我试图更改教程的值,但没有效果 我继续寻找,但失败了 请告诉我这是什么,或者我可以在哪里搜索它。我们的想法是将整个训练数据集分割成小块(批次)。因此,batch\u size设置此块的大小。而num_epochs

各位!! 我是Tensorflow的新手。在,我得到了
tf.contrib.learn.io.numpy\u输入fn({“x”:x\u train},y\u train,4,num\u epochs=1000)
源代码。我想知道
batch\u size
num\u epochs
是什么意思?我试图更改教程的值,但没有效果

我继续寻找,但失败了


请告诉我这是什么,或者我可以在哪里搜索它。

我们的想法是将整个训练数据集分割成小块(批次)。因此,batch\u size设置此块的大小。而num_epochs描述了块的数量
您可以在以下网站的评论中找到描述:


因此,
步骤
意味着什么?我认为
num_epochs
是训练步骤的编号。是吗?不。它们是相关的,但它们不是相同的东西。看到和
# We have to tell the function how many batches
# of data (num_epochs) we want and how big each batch should be.