tf.keras.backend.batch_set_value

tf.keras.backend.batch_set_value(tuples)

Defined in tensorflow/python/keras/backend.py.

Sets the values of many tensor variables at once.

Arguments:

  • tuples: a list of tuples (tensor, value). value should be a Numpy array.