You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is defining train_opfor each data point and epoch anew really needed? I'm new to TensorFlow so I can't tell why or why not this would make sense. For me, the regression seems to work fine (and much faster) if the line is removed.
The text was updated successfully, but these errors were encountered:
Thank you so much for spending time and reading it. Basically, train_op is a crucial graph tensor which must be run by the TensorFlow session to perform a training step. As an example, performing a training step can be equivalent to updating the weights. In the code that you mentioned. train_op is the optimizer object, not just the loss.
Is defining
train_op
for each data point and epoch anew really needed? I'm new to TensorFlow so I can't tell why or why not this would make sense. For me, the regression seems to work fine (and much faster) if the line is removed.The text was updated successfully, but these errors were encountered: