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
self.loss = (1.0 / args.batch_size) * tf.nn.l2_loss(self.Y_ - self.Y) # MSE loss
should be changed to the following code?
self.loss = (1.0 / args.batch_size) * tf.losses.mean_squared_error(self.Y_, self.Y)
The text was updated successfully, but these errors were encountered:
self.loss = (1.0 / args.batch_size) * tf.nn.l2_loss(self.Y_ - self.Y) # MSE loss
should be changed to the following code?
self.loss = (1.0 / args.batch_size) * tf.losses.mean_squared_error(self.Y_, self.Y)
The text was updated successfully, but these errors were encountered: