Computes the results of the forward element-wise sum layer in the batch processing mode .
More...
template<typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = defaultDense>
class daal::algorithms::neural_networks::layers::eltwise_sum::forward::interface1::Batch< algorithmFPType, method >
- Template Parameters
-
algorithmFPType | Data type to use in intermediate computations of forward element-wise sum layer, double or float |
method | Computation method of the layer, Method |
- Enumerations
- Method Computation methods for the forward element-wise sum layer
- LayerDataId Identifiers of results of the forward element-wise sum layer
- References
-
◆ Batch() [1/3]
Constructs forward element-wise sum layer
◆ Batch() [2/3]
Constructs a forward element-wise sum layer in the batch processing mode and initializes its parameter with the provided parameter
- Parameters
-
[in] | parameter | Parameter to initialize the parameter of the layer |
◆ Batch() [3/3]
Batch |
( |
const Batch< algorithmFPType, method > & |
other | ) |
|
|
inline |
Constructs a forward element-wise sum layer by copying input objects and parameters of another forward element-wise sum layer
- Parameters
-
[in] | other | A layer to be used as the source to initialize the input objects and parameters of this layer |
◆ allocateResult()
Allocates memory to store the result of the forward element-wise sum layer
- Returns
- Status of computations
Implements LayerIface.
◆ clone()
Returns a pointer to the newly allocated element-wise sum layer with a copy of input objects and parameters of this element-wise sum layer
- Returns
- Pointer to the newly allocated layer
◆ getLayerInput()
Returns the structure that contains the input objects of the forward element-wise sum layer
- Returns
- Structure that contains the input objects of the forward element-wise sum layer
Implements LayerIface.
◆ getLayerParameter()
Returns the structure that contains parameters of the forward element-wise sum layer
- Returns
- Structure that contains parameters of the forward element-wise sum layer
Implements LayerIface.
◆ getLayerResult()
virtual layers::forward::ResultPtr getLayerResult |
( |
| ) |
|
|
inlinevirtual |
Returns the structure that contains results of element-wise sum layer
- Returns
- Structure that contains results of element-wise sum layer
Implements LayerIface.
◆ getMethod()
virtual int getMethod |
( |
| ) |
const |
|
inlinevirtual |
Returns method of the layer
- Returns
- Method of the layer
Implements AlgorithmIface.
◆ getResult()
Returns the structure that contains results of element-wise sum layer
- Returns
- Structure that contains results of element-wise sum layer
◆ setResult()
Registers user-allocated memory to store results of element-wise sum layer
- Parameters
-
[in] | result | Structure to store results of element-wise sum layer |
- Returns
- Status of computations
◆ input
Forward element-wise sum layer input
◆ parameter
The documentation for this class was generated from the following file: