tf.raw_ops.RefSelect
Forwards the index
th element of inputs
to output
.
tf.raw_ops.RefSelect( index, inputs, name=None )
Args | |
---|---|
index | A Tensor of type int32 . A scalar that determines the input that gets selected. |
inputs | A list of at least 1 mutable Tensor objects with the same type. A list of ref tensors, one of which will be forwarded to output . |
name | A name for the operation (optional). |
Returns | |
---|---|
A mutable Tensor . Has the same type as inputs . |
© 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/RefSelect