TensorFlow 2 version | View source on GitHub |
Instantiates a Keras function.
tf.keras.backend.function(
inputs, outputs, updates=None, name=None, **kwargs
)
Arguments | |
---|---|
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 .
|
Returns | |
---|---|
Output values as Numpy arrays. |
Raises | |
---|---|
ValueError
|
if invalid kwargs are passed in or if in eager execution. |