Negate
tensorflow C++ API
Computes numerical negative value element-wise.
Summary
I.e., y = -x.
Arguments:
- scope: A Scope object
Returns:
Output
: The y tensor.
Constructor
- Negate(const ::tensorflow::Scope & scope, ::tensorflow::Input x).
Public attributes
- tensorflow::Output y.
Negate 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.).
- Input x:connect Input node.
Return:
- Output y: Output object of Negate class object.
Result:
- std::vector(Tensor) product_result : Returned object of executed result by calling session.