tf.raw_ops.TensorArrayGatherV3
bookmark_borderbookmark
Stay organized with collections
Save and categorize content based on your preferences.
Gather specific elements from the TensorArray into output value
.
View aliases
Compat aliases for migration
See
Migration guide for
more details.
tf.compat.v1.raw_ops.TensorArrayGatherV3
tf.raw_ops.TensorArrayGatherV3(
handle, indices, flow_in, dtype, element_shape=None, name=None
)
All elements selected by indices
must have the same shape.
Args |
handle
|
A Tensor of type resource . The handle to a TensorArray.
|
indices
|
A Tensor of type int32 .
The locations in the TensorArray from which to read tensor elements.
|
flow_in
|
A Tensor of type float32 .
A float scalar that enforces proper chaining of operations.
|
dtype
|
A tf.DType . The type of the elem that is returned.
|
element_shape
|
An optional tf.TensorShape or list of ints . Defaults to None .
The expected shape of an element, if known. Used to
validate the shapes of TensorArray elements. If this shape is not
fully specified, gathering zero-size TensorArrays is an error.
|
name
|
A name for the operation (optional).
|
Returns |
A Tensor of type dtype .
|
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.
[[["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-04-26 UTC."],[],[],null,["# tf.raw_ops.TensorArrayGatherV3\n\n\u003cbr /\u003e\n\nGather specific elements from the TensorArray into output `value`.\n\n#### View aliases\n\n\n**Compat aliases for migration**\n\nSee\n[Migration guide](https://www.tensorflow.org/guide/migrate) for\nmore details.\n\n[`tf.compat.v1.raw_ops.TensorArrayGatherV3`](https://www.tensorflow.org/api_docs/python/tf/raw_ops/TensorArrayGatherV3)\n\n\u003cbr /\u003e\n\n tf.raw_ops.TensorArrayGatherV3(\n handle, indices, flow_in, dtype, element_shape=None, name=None\n )\n\nAll elements selected by `indices` must have the same shape.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|-----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `handle` | A `Tensor` of type `resource`. The handle to a TensorArray. |\n| `indices` | A `Tensor` of type `int32`. The locations in the TensorArray from which to read tensor elements. |\n| `flow_in` | A `Tensor` of type `float32`. A float scalar that enforces proper chaining of operations. |\n| `dtype` | A [`tf.DType`](../../tf/dtypes/DType). The type of the elem that is returned. |\n| `element_shape` | An optional [`tf.TensorShape`](../../tf/TensorShape) or list of `ints`. Defaults to `None`. The expected shape of an element, if known. Used to validate the shapes of TensorArray elements. If this shape is not fully specified, gathering zero-size TensorArrays is an error. |\n| `name` | A name for the operation (optional). |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| A `Tensor` of type `dtype`. ||\n\n\u003cbr /\u003e"]]