tf.contrib.learn.io.numpy_input_fn参数是什么意思?
各位!! 我是Tensorflow的新手。在,我得到了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
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.