Spec-Zone.ru › TensorFlow C++ 2.3

tensorflow::ops::InplaceAdd

#include <array_ops.h>

Добавляет v в указанные строки x.

Summary

Вычисляет y = x; y[i, :] += v; возвращает y.

Аргументы:

  • scope: Объект Scope
  • x: A Tensor типа T.
  • i: Вектор. Индексы в левом крайнем измерении x.
  • v: A Tensor типа T. Размеры измерений такие же, как у x, за исключением первого измерения, которое должно быть таким же, как размер i.

Возвращает:

  • Output: A Tensor типа T. Псевдоним x. Содержимое y не определено, если в i есть дубликаты.
Конструкторы и деструкторы
InplaceAdd(const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input i, ::tensorflow::Input v)
Общедоступные атрибуты
operation
Operation
y
::tensorflow::Output
Общедоступные функции
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 

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.3/api_docs/cc/class/tensorflow/ops/inplace-add

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API