Provides methods for forward fully-connected layer computations in the batch processing mode .
More...
template<typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = defaultDense>
class daal::algorithms::neural_networks::layers::fullyconnected::forward::interface1::Batch< algorithmFPType, method >
- Template Parameters
-
algorithmFPType | Data type to use in intermediate computations of forward fully-connected layer, double or float |
method | Computation method of the layer, Method |
- Enumerations
- Method Computation methods for the forward fully-connected layer
- LayerDataId Identifiers of results of the forward fully-connected layer
- References
-
◆ Batch() [1/3]
Batch |
( |
const size_t |
nOutputs | ) |
|
|
inline |
Constructs forward fully-connected layer
- Parameters
-
[in] | nOutputs | A number of layer outputs |
◆ Batch() [2/3]
Constructs a forward fully-connected 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 fully-connected layer by copying input objects and parameters of another forward fully-connected 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 fully-connected layer
- Returns
- Status of computations
Implements LayerIface.
◆ clone()
Returns a pointer to the newly allocated fully-connected layer with a copy of input objects and parameters of this fully-connected layer
- Returns
- Pointer to the newly allocated layer
◆ getLayerInput()
Returns the structure that contains the input objects of the forward fully-connected layer
- Returns
- Structure that contains the input objects of the forward fully-connected layer
Implements LayerIface.
◆ getLayerParameter()
Returns the structure that contains parameters of the forward fully-connected layer
- Returns
- Structure that contains parameters of the forward fully-connected layer
Implements LayerIface.
◆ getLayerResult()
layers::forward::ResultPtr getLayerResult |
( |
| ) |
|
|
inlinevirtual |
Returns the structure that contains results of fully-connected layer
- Returns
- Structure that contains results of fully-connected 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 fully-connected layer
- Returns
- Structure that contains results of fully-connected layer
◆ setResult()
Registers user-allocated memory to store results of fully-connected layer
- Parameters
-
[in] | result | Structure to store results of fully-connected layer |
- Returns
- Status of computations
◆ input
Input objects of the layer
◆ parameter
The documentation for this class was generated from the following file: