Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::TensorArrayScatter
#include <data_flow_ops.h>
Scatter the data from the input value into specific TensorArray elements.
Summary
indices
must be a vector, its length must match the first dim of value
.
Args:
- scope: A Scope object
- handle: The handle to a TensorArray.
- indices: The locations at which to write the tensor elements.
- value: The concatenated tensor to write to the TensorArray.
- flow_in: A float scalar that enforces proper chaining of operations.
Returns:
Output
: A float scalar that enforces proper chaining of operations.
Public attributes
Public functions
node
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
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 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[],[],null,["# tensorflow::ops::TensorArrayScatter Class Reference\n\ntensorflow::ops::TensorArrayScatter\n===================================\n\n`#include \u003cdata_flow_ops.h\u003e`\n\nScatter the data from the input value into specific [TensorArray](/versions/r2.14/api_docs/cc/class/tensorflow/ops/tensor-array#classtensorflow_1_1ops_1_1_tensor_array) elements.\n\nSummary\n-------\n\n`indices` must be a vector, its length must match the first dim of `value`.\n\nArgs:\n\n- scope: A [Scope](/versions/r2.14/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- handle: The handle to a [TensorArray](/versions/r2.14/api_docs/cc/class/tensorflow/ops/tensor-array#classtensorflow_1_1ops_1_1_tensor_array).\n- indices: The locations at which to write the tensor elements.\n- value: The concatenated tensor to write to the [TensorArray](/versions/r2.14/api_docs/cc/class/tensorflow/ops/tensor-array#classtensorflow_1_1ops_1_1_tensor_array).\n- flow_in: A float scalar that enforces proper chaining of operations.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r2.14/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output): A float scalar that enforces proper chaining of operations.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [TensorArrayScatter](#classtensorflow_1_1ops_1_1_tensor_array_scatter_1ae395cc4ed95e12333da59c82e4e38375)`(const ::`[tensorflow::Scope](/versions/r2.14/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.14/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` handle, ::`[tensorflow::Input](/versions/r2.14/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` indices, ::`[tensorflow::Input](/versions/r2.14/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` value, ::`[tensorflow::Input](/versions/r2.14/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` flow_in)` ||\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|\n| [flow_out](#classtensorflow_1_1ops_1_1_tensor_array_scatter_1a09d94e74e1687408a15eb0a2ea5a83ff) | `::`[tensorflow::Output](/versions/r2.14/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [operation](#classtensorflow_1_1ops_1_1_tensor_array_scatter_1a011e617705e997f4b6977010f194731a) | [Operation](/versions/r2.14/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n\n| ### Public functions ||\n|--------------------------------------------------------------------------------------------------------------------------------|------------------------|\n| [node](#classtensorflow_1_1ops_1_1_tensor_array_scatter_1a507abb2912dccfd0f76902363c64a87a)`() const ` | `::tensorflow::Node *` |\n| [operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_tensor_array_scatter_1a5eced0b51154d4d039b99bab78d8c327)`() const ` | |\n| [operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_tensor_array_scatter_1a4667482ae23579f85db4b6a78b2d9774)`() const ` | |\n\nPublic attributes\n-----------------\n\n### flow_out\n\n```scdoc\n::tensorflow::Output flow_out\n``` \n\n### operation\n\n```text\nOperation operation\n``` \n\nPublic functions\n----------------\n\n### TensorArrayScatter\n\n```gdscript\n TensorArrayScatter(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input handle,\n ::tensorflow::Input indices,\n ::tensorflow::Input value,\n ::tensorflow::Input flow_in\n)\n``` \n\n### node\n\n```gdscript\n::tensorflow::Node * node() const \n``` \n\n### operator::tensorflow::Input\n\n```gdscript\n operator::tensorflow::Input() const \n``` \n\n### operator::tensorflow::Output\n\n```gdscript\n operator::tensorflow::Output() const \n```"]]