0
Q:

tensorflow_core._api.v2.train' has no attribute 'GradientDescentOptimizer'

use tf.optimizer.SGD() for tensorflow2.0
1
Use version for the TensorFlow 2.x:

tf.optimizers.SGD (learning_rate=0.001, name='SGD')
1
import tensorflow.compat.v1 as tf
tf.disable_v2_behavior()
0

New to Communities?

Join the community