def get_optimizer(learning_rate=0.1):
    'Returns optimizer to use.'
    return gradient_descent_v2.SGD(learning_rate=learning_rate, momentum=0.9)
Returns optimizer to use.
def get_optimizer(learning_rate=0.1):
    
    return gradient_descent_v2.SGD(learning_rate=learning_rate, momentum=0.9)