tensorflow / 2.9.1 / raw_ops / eagerpyfunc.html /

tf.raw_ops.EagerPyFunc

Eagerly executes a python function to compute func(input)->output. The

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.

© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.9/api_docs/python/tf/raw_ops/EagerPyFunc