Class that computes the results of the forward element-wise sum layer in the batch processing mode.
More...
◆ EltwiseSumForwardBatch() [1/2]
Constructs the forward element-wise sum layer by copying input objects of another forward element-wise sum layer
- Parameters
-
context | Context to manage the forward element-wise sum layer |
other | A forward element-wise sum layer to be used as the source to initialize the input objects of the forward element-wise sum layer |
◆ EltwiseSumForwardBatch() [2/2]
Constructs the forward element-wise sum 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, EltwiseSumMethod |
◆ clone()
Returns the newly allocated forward element-wise sum layer with a copy of input objects of this forward element-wise sum layer
- Parameters
-
context | Context to manage the layer |
- Returns
- The newly allocated forward element-wise sum layer
◆ compute()
Computes the result of the forward element-wise sum layer
- Returns
- Forward element-wise sum layer result
◆ getLayerInput()
Returns the structure that contains input object of the forward layer
- Returns
- Structure that contains input object of the forward layer
◆ getLayerParameter()
Returns the structure that contains parameters of the forward layer
- Returns
- Structure that contains parameters of the forward layer
◆ getLayerResult()
Returns the structure that contains result of the forward layer
- Returns
- Structure that contains result of the forward layer
◆ setResult()
Registers user-allocated memory to store the result of the forward element-wise sum layer
- Parameters
-
result | Structure to store the result of the forward element-wise sum layer |
◆ input
◆ method
Computation method for the layer
◆ parameter
EltwiseSumParameters of the layer
The documentation for this class was generated from the following file:
- EltwiseSumForwardBatch.java