tf.keras.backend.function

TensorFlow 2 version View source on GitHub

Instantiates a Keras function.

inputs List of placeholder tensors.
outputs List of output tensors.
updates List of update ops.
name String, name of function.
**kwargs Passed to tf.Session.run.

Output values as Numpy arrays.

ValueError if invalid kwargs are passed in or if in eager execution.