tensorflow::ops::InplaceSub
#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.
Возвращает:
| Конструкторы и деструкторы | |
|---|---|
InplaceSub(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
Общедоступные функции
InplaceSub
InplaceSub( const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input i, ::tensorflow::Input v )
узел
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Вывод
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-sub