What is the relationship between steps and epochs in TensorFlow?

后端 未结 5 1493
鱼传尺愫
鱼传尺愫 2020-12-22 19:07

I am going through TensorFlow get started tutorial. In the tf.contrib.learn example, these are two lines of code:

input_fn = tf.contrib.learn.io         


        
5条回答
  •  孤城傲影
    2020-12-22 20:04

    num_epochs: the maximum number of epochs (seeing each data point).

    steps: the number of updates (of parameters).

    You can update multiple times in an epoch when the batch size is smaller than the number of training data.

提交回复
热议问题