Class that computes the results of the backward hyperbolic tangent (tanh) layer in the batch processing mode.
More...
◆ TanhBackwardBatch() [1/2]
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 |
◆ TanhBackwardBatch() [2/2]
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 |
◆ clone()
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
◆ compute()
Computes the result of the backward tanh layer
- Returns
- Backward tanh layer result
◆ getLayerInput()
Returns the structure that contains input object of the backward layer
- Returns
- Structure that contains input object of the backward layer
◆ getLayerParameter()
Returns the structure that contains parameters of the backward layer
- Returns
- Structure that contains parameters of the backward layer
◆ getLayerResult()
Returns the structure that contains result of the backward layer
- Returns
- Structure that contains result of the backward layer
◆ setResult()
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 |
◆ input
◆ method
Computation method for the layer
The documentation for this class was generated from the following file: