tf.raw_ops.EagerPyFunc
Eagerly executes a python function to compute func(input)->output. The
tf.raw_ops.EagerPyFunc(
input, token, Tout, is_async=False, name=None
)
semantics of the input, output, and attributes are the same as those for PyFunc.
| Args | |
|---|---|
input | A list of Tensor objects. |
token | A string. |
Tout | A list of tf.DTypes. |
is_async | An optional bool. Defaults to False. |
name | A name for the operation (optional). |
| Returns | |
|---|---|
A list of Tensor objects of type Tout. |
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/python/tf/raw_ops/EagerPyFunc