Computes the result of the forward reshape layer in the batch processing mode.
More...
template<typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = defaultDense>
class daal::algorithms::neural_networks::layers::reshape::forward::interface1::Batch< algorithmFPType, method >
- Template Parameters
-
algorithmFPType | Data type to use in intermediate computations of the forward reshape layer, double or float |
method | Forward reshape layer method, Method |
- Enumerations
- Method Computation methods for the forward reshape layer
- forward::InputId Identifiers of input objects for the forward reshape layer
- forward::ResultId Identifiers of result objects for the forward reshape layer
- LayerDataId Identifiers of extra results computed by the forward reshape layer
- References
-
- Deprecated:
- This item will be removed in a future release.
DAAL_DEPRECATED Batch |
( |
| ) |
|
|
inline |
Default constructor
- Deprecated:
- This item will be removed in a future release.
DAAL_DEPRECATED Batch |
( |
const services::Collection< size_t > & |
dims | ) |
|
|
inline |
Constructs a forward reshape layer in the batch processing mode and initializes its parameter with the given reshape diensions
- Parameters
-
[in] | dims | The reshape dimensions |
- Deprecated:
- This item will be removed in a future release.
DAAL_DEPRECATED Batch |
( |
ParameterType & |
parameter | ) |
|
|
inline |
Constructs a forward reshape 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 |
- Deprecated:
- This item will be removed in a future release.
Batch |
( |
const Batch< algorithmFPType, method > & |
other | ) |
|
|
inline |
Constructs a forward reshape layer by copying input objects and parameters of another forward reshape layer in the batch processing mode
- Parameters
-
[in] | other | Algorithm to use as the source to initialize the input objects and parameters of the algorithm |
- Deprecated:
- This item will be removed in a future release.
virtual DAAL_DEPRECATED_VIRTUAL services::Status allocateResult |
( |
| ) |
|
|
inlinevirtual |
Allocates memory to store the result of the forward reshape layer
- Returns
- Status of computations
- Deprecated:
- This item will be removed in a future release.
DAAL_DEPRECATED services::SharedPtr<Batch<algorithmFPType, method> > clone |
( |
| ) |
const |
|
inline |
Returns a pointer to the newly allocated forward reshape layer with a copy of input objects and parameters of this forward reshape layer in the batch processing mode
- Returns
- Pointer to the newly allocated algorithm
- Deprecated:
- This item will be removed in a future release.
virtual DAAL_DEPRECATED_VIRTUAL InputType* getLayerInput |
( |
| ) |
|
|
inlinevirtual |
Returns the structure that contains input objects of the reshape forward layer
- Returns
- Structure that contains input objects of the reshape forward layer
- Deprecated:
- This item will be removed in a future release.
virtual DAAL_DEPRECATED_VIRTUAL ParameterType* getLayerParameter |
( |
| ) |
|
|
inlinevirtual |
Returns the structure that contains parameters of the forward reshape layer
- Returns
- Structure that contains parameters of the forward reshape layer
- Deprecated:
- This item will be removed in a future release.
DAAL_DEPRECATED layers::forward::ResultPtr getLayerResult |
( |
| ) |
|
|
inline |
Returns the structure that contains result of the forward reshape layer
- Returns
- Structure that contains result of the forward reshape layer
- Deprecated:
- This item will be removed in a future release.
virtual DAAL_DEPRECATED_VIRTUAL int getMethod |
( |
| ) |
const |
|
inlinevirtual |
Returns the method of the algorithm
- Returns
- Method of the algorithm
- Deprecated:
- This item will be removed in a future release.
Returns the structure that contains result of the forward reshape layer
- Returns
- Structure that contains result of the forward reshape layer
- Deprecated:
- This item will be removed in a future release.
DAAL_DEPRECATED services::Status setResult |
( |
const ResultPtr & |
result | ) |
|
|
inline |
Registers user-allocated memory to store result of the forward reshape layer
- Parameters
-
[in] | result | Structure to store result of the forward reshape layer |
- Returns
- Status of computations
- Deprecated:
- This item will be removed in a future release.
Input objects of the layer
The documentation for this class was generated from the following file: