Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::
ops::
TensorArrayWrite
#include <data_flow_ops.h>
Push an element onto the tensor_array.
Summary
Args:
-
scope: A
Scope
object
-
handle: The handle to a
TensorArray
.
-
index: The position to write to inside the
TensorArray
.
-
value: The 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 2021-05-14 UTC.
[null,null,["Last updated 2021-05-14 UTC."],[],[],null,["# tensorflow::ops::TensorArrayWrite Class Reference\n\ntensorflow::\nops::\nTensorArrayWrite\n===================================\n\n`\n#include \u003cdata_flow_ops.h\u003e\n`\n\n\nPush an element onto the tensor_array.\n\nSummary\n-------\n\n\nArgs:\n\n- scope: A [Scope](/versions/r2.5/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- handle: The handle to a [TensorArray](/versions/r2.5/api_docs/cc/class/tensorflow/ops/tensor-array#classtensorflow_1_1ops_1_1_tensor_array) .\n- index: The position to write to inside the [TensorArray](/versions/r2.5/api_docs/cc/class/tensorflow/ops/tensor-array#classtensorflow_1_1ops_1_1_tensor_array) .\n- value: The tensor to write to the [TensorArray](/versions/r2.5/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\n\nReturns:\n\n- `\n `[Output](/versions/r2.5/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output)`\n ` : A float scalar that enforces proper chaining of operations.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| ` `[TensorArrayWrite](#classtensorflow_1_1ops_1_1_tensor_array_write_1a460b6a43f14c176075205066d313b90a)` (const :: `[tensorflow::Scope](/versions/r2.5/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, :: `[tensorflow::Input](/versions/r2.5/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` handle, :: `[tensorflow::Input](/versions/r2.5/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` index, :: `[tensorflow::Input](/versions/r2.5/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` value, :: `[tensorflow::Input](/versions/r2.5/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_write_1aa092851909387a37b7c3a387a8af44e1)` ` | ` :: `[tensorflow::Output](/versions/r2.5/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output)` ` |\n| ` `[operation](#classtensorflow_1_1ops_1_1_tensor_array_write_1a3100a9efbca22b5bba4584019701be7a)` ` | ` `[Operation](/versions/r2.5/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation)` ` |\n\n| ### Public functions ||\n|----------------------------------------------------------------------------------------------------------------------------------|--------------------------|\n| ` `[node](#classtensorflow_1_1ops_1_1_tensor_array_write_1abeffa6d8bb7c744eec782cbaa5558bf8)` () const ` | ` ::tensorflow::Node * ` |\n| ` `[operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_tensor_array_write_1add6a075334d0dfdc712f3a3a3d346be8)` () const ` | ` ` |\n| ` `[operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_tensor_array_write_1a5d52808083b6de9fcf870cccf2c24647)` () 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### TensorArrayWrite\n\n```gdscript\n TensorArrayWrite(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input handle,\n ::tensorflow::Input index,\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```"]]