

def batch_set_value(tuples):
    'Sets the values of many tensor variables at once.\n\n    # Arguments\n        tuples: a list of tuples `(tensor, value)`.\n            `value` should be a Numpy array.\n    '
    if tuples:
        ops = [tf.assign(x, np.asarray(x)) for (x, value) in tuples]
        get_session().run(ops)

dataset/ETHPy150Open fchollet/keras/keras/backend/tensorflow_backend.py batch_set_value/VarMisuse@30/100 `value`->`x`