W3cubDocs

/TensorFlow 2.4

tf.raw_ops.RefEnter

Creates or finds a child frame, and makes data available to the child frame.

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 mutable 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 mutable 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/RefEnter