Class that computes the results of the forward hyperbolic tangent (tanh) layer in the batch processing mode.
More...
Constructs the forward tanh layer by copying input objects of another forward tanh layer
- Parameters
-
context | Context to manage the forward tanh layer |
other | A forward tanh layer to be used as the source to initialize the input objects of the forward tanh layer |
Constructs the forward tanh layer
- Parameters
-
context | Context to manage the 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 forward tanh layer with a copy of input objects of this forward tanh layer
- Parameters
-
context | Context to manage the layer |
- Returns
- The newly allocated forward tanh layer
Computes the result of the forward tanh layer
- Returns
- Forward tanh layer result
Returns the structure that contains input object of the forward layer
- Returns
- Structure that contains input object of the forward layer
Returns the structure that contains parameters of the forward layer
- Returns
- Structure that contains parameters of the forward layer
Returns the structure that contains result of the forward layer
- Returns
- Structure that contains result of the forward layer
Registers user-allocated memory to store the result of the forward tanh layer
- Parameters
-
result | Structure to store the result of the forward tanh layer |
Computation method for the layer
The documentation for this class was generated from the following file: