tensorflow::ops::InplaceAdd
#include <array_ops.h>
Добавляет v в указанные строки x.
Краткое описание
Вычисляет y = x; y[i, :] += v; return y.
Аргументы:
- scope: объект Scope
- x:
Tensorтипа T. - i: вектор. Индексы в крайнем левом измерении
x. - v:
Tensorтипа T. Размеры всех измерений совпадают с x, кроме первого: он должен совпадать с размером i.
Возвращает:
-
Output:Tensorтипа T. Псевдонимx. Содержимоеyне определено, если вiесть повторяющиеся элементы.
| Конструкторы и деструкторы | |
|---|---|
InplaceAdd(const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input i, ::tensorflow::Input v) |
| Открытые атрибуты | |
|---|---|
operation | |
y | |
| Открытые функции | |
|---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const | |
Открытые атрибуты
operation
Operation operation
y
::tensorflow::Output y
Открытые функции
InplaceAdd
InplaceAdd( const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input i, ::tensorflow::Input v )
node
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
© 2022 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/api_docs/cc/class/tensorflow/ops/inplace-add