Use the provided optimizer for computing gradients.
Since the user provides an optimizer, gradients should be computed via optimizer.compute_gradients() rather than just the tf.gradients() call. PiperOrigin-RevId: 176003625
Loading
Please sign in to comment