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