tensorflow:: ops:: InplaceSub

#include <array_ops.h>

Subtracts v into specified rows of x .

Summary

Computes y = x; y[i, :] -= v; return y.

Args:

  • scope: A Scope object
  • x: A Tensor of type T.
  • i: A vector. Indices into the left-most dimension of x .
  • v: A 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

InplaceSub (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

Public attributes

operation

Operation operation

Public functions

InplaceSub

 InplaceSub(
  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