tf.raw_ops.Enter
Creates or finds a child frame, and makes data
available to the child frame.
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. If is_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 . |
© 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/Enter