tf.raw_ops.PyFunc
bookmark_borderbookmark
Stay organized with collections
Save and categorize content based on your preferences.
Invokes a python function to compute func(input)->output.
View aliases
Compat aliases for migration
See
Migration guide for
more details.
tf.compat.v1.raw_ops.PyFunc
tf.raw_ops.PyFunc(
input, token, Tout, name=None
)
This operation is considered stateful. For a stateless version, see
PyFuncStateless.
Args |
input
|
A list of Tensor objects.
List of Tensors that will provide input to the Op.
|
token
|
A string .
A token representing a registered python function in this address space.
|
Tout
|
A list of tf.DTypes . Data types of the outputs from the op.
The length of the list specifies the number of outputs.
|
name
|
A name for the operation (optional).
|
Returns |
A list of Tensor objects of type Tout .
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2024-01-23 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-01-23 UTC."],[],[]]