摘要:
1 import tensorflow as tf 2 import numpy as np 3 # const = tf.constant(2.0, name='const') 4 # b = tf.placeholder(tf.float32, [None, 1], name='b') 5 # # b = tf.Variable(2.0, dtype=tf.float32, nam... 阅读全文
摘要:
神经网络中epoch与iteration是不相等的 batchsize:中文翻译为批大小(批尺寸)。在深度学习中,一般采用SGD训练,即每次训练在训练集中取batchsize个样本训练; iteration:中文翻译为迭代,1个iteration等于使用batchsize个样本训练一次;一个迭代 = 阅读全文