Tanh


tensorflow C++ API

tensorflow::ops::Tanh

Computes hyperbolic tangent ofxelement-wise.


Summary

Arguments:

Returns:

Constructor

  • Tanh(const ::tensorflow::Scope & scope, ::tensorflow::Input x)

Public attributes

  • tensorflow::Output y.

Tanh 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 output: Output object of Tanh class object.

Result:

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

Using Method

results matching ""

    No results matching ""