

def gradients(loss, variables):
    'Returns the gradients of `variables` (list of tensor variables)\n    with regard to `loss`.\n    '
    return tf.gradients(loss, variables)

dataset/ETHPy150Open fchollet/keras/keras/backend/tensorflow_backend.py gradients/original