Link Search Menu Expand Document

AddN


tensorflow C++ API

tensorflow::ops::AddN

Add all input tensors element wise.


Summary

Arguments:

  • scope: A Scope object
  • inputs:** Must all be the same size and shape.**

Returns:

Constructor

  • AddN(const ::tensorflow::Scope & scope, ::tensorflow::InputList inputs).

Public attributes

  • tensorflow::Output sum.

AddN block

Source link : https://github.com/EXPNUNI/enuSpaceTensorflow/blob/master/enuSpaceTensorflow/tf_math.cpp

Argument:

  • Scope scope : A Scope object (A scope is generated automatically each page. A scope is not connected.)
  • InputList inputs :connect InputList node.

Return:

  • Output sum : Output object of AddN class object.

Result:

  • std::vector(Tensor) product_result : Returned object of executed result by calling session.

Using Method