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