#include <array_ops.h>
Updates specified rows 'i' with values 'v'.
Computes x[i, :] = v; return x.
Originally this function is mutative however for compilation we make this operation create / operate on a copy of x.
Arguments:
T.x.Tensor of type T. Same dimension sizes as x except the first dimension, which must be the same as i's size.Returns:
Output: A Tensor of type T. An alias of x. The content of y is undefined if there are duplicates in i. | Constructors and Destructors | |
|---|---|
InplaceUpdate(const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input i, ::tensorflow::Input v) |
| Public attributes | |
|---|---|
operation | |
y | |
| Public functions | |
|---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const | |
Operation operation
::tensorflow::Output y
InplaceUpdate( const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input i, ::tensorflow::Input v )
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operator::tensorflow::Output() const
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/cc/class/tensorflow/ops/inplace-update