Class that computes the results of the backward hyperbolic tangent (tanh) layer in the batch processing mode.
More...
Constructs the backward tanh layer by copying input objects from another backward tanh layer
- Parameters
-
context | Context to manage the backward tanh layer |
other | An algorithm to be used as the source to initialize the input objects and parameters of the backward tanh layer |
Constructs the backward tanh layer
- Parameters
-
context | Context to manage the backward tanh layer |
cls | Data type to use in intermediate computations for the layer, Double.class or Float.class |
method | The layer computation method, TanhMethod |
Returns the newly allocated backward tanh layer with a copy of input objects of this backward tanh layer
- Parameters
-
context | Context to manage the layer |
- Returns
- The newly allocated backward tanh layer
Computes the result of the backward tanh layer
- Returns
- Backward tanh layer result
Returns the structure that contains input object of the backward layer
- Returns
- Structure that contains input object of the backward layer
Returns the structure that contains parameters of the backward layer
- Returns
- Structure that contains parameters of the backward layer
Returns the structure that contains result of the backward layer
- Returns
- Structure that contains result of the backward layer
Registers user-allocated memory to store the result of the backward tanh layer
- Parameters
-
result | Structure to store the result of the backward tanh layer |
Computation method for the layer
The documentation for this class was generated from the following file: