tf.raw_ops.Enter | TensorFlow v2.16.1 (original) (raw)
tf.raw_ops.Enter
Stay organized with collections Save and categorize content based on your preferences.
Creates or finds a child frame, and makes data
available to the child frame.
View aliases
Compat aliases for migration
SeeMigration guide for more details.
tf.raw_ops.Enter(
data, frame_name, is_constant=False, parallel_iterations=10, name=None
)
This op is used together with Exit
to create loops in the graph. The unique frame_name
is used by the Executor
to identify frames. Ifis_constant
is true, output
is a constant in the child frame; otherwise it may be changed in the child frame. At most parallel_iterations
iterations are run in parallel in the child frame.
Args | |
---|---|
data | A Tensor. The tensor to be made available to the child frame. |
frame_name | A string. The name of the child frame. |
is_constant | An optional bool. Defaults to False. If true, the output is constant within the child frame. |
parallel_iterations | An optional int. Defaults to 10. The number of iterations allowed to run in parallel. |
name | A name for the operation (optional). |
Returns |
---|
A Tensor. Has the same type as data. |
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-04-26 UTC.