View source on GitHub |
Instantiates a Keras function.
tf.keras.backend.function(
inputs, outputs, updates=None, name=None, **kwargs
)
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.