Abstract interface class that provides virtual methods to access and run implementations of the algorithms. It is associated with the Algorithm class and supports the methods for computation and finalization of the algorithm results in the batch, distributed, and online modes. The methods of the container are defined in derivative containers defined for each algorithm.
More...
template<ComputeMode mode>
class daal::algorithms::interface1::AlgorithmContainerImpl< mode >
- Template Parameters
-
◆ AlgorithmContainerImpl()
Default constructor
- Parameters
-
[in] | daalEnv | Pointer to the structure that contains information about the environment |
◆ getResult()
Retrieves final results of the algorithm
- Returns
- Pointer to the final results of the algorithm
◆ resetCompute()
Resets internal datastructures for compute function.
Implements AlgorithmContainer< mode >.
Reimplemented in AlgorithmDispatchContainer< mode, DAAL_KERNEL_AVX512_mic_ONLY >, AlgorithmDispatchLayerContainer< mode, DAAL_KERNEL_AVX512_mic_ONLY >, DistributedContainer< step2Master, algorithmFPType, method, cpu >, BatchContainer< algorithmFPType, method, cpu >, DistributedContainer< step1Local, algorithmFPType, method, cpu >, BatchContainer< algorithmFPType, method, cpu >, BatchContainer< algorithmFPType, method, cpu >, BatchContainer< algorithmFPType, method, cpu >, BatchContainer< algorithmFPType, method, cpu >, BatchContainer< algorithmFPType, method, cpu >, BatchContainer< algorithmFPType, method, cpu >, LayerContainerIfaceImpl, BatchContainer< algorithmFPType, method, cpu >, and BatchContainer< algorithmFPType, method, cpu >.
◆ resetFinalizeCompute()
◆ setArguments()
Sets arguments of the algorithm
- Parameters
-
[in] | in | Pointer to the input arguments of the algorithm |
[in] | pres | Pointer to the partial results of the algorithm |
[in] | par | Pointer to the parameters of the algorithm |
◆ setPartialResult()
Sets partial results of the algorithm
- Parameters
-
[in] | pres | Pointer to the partial results of the algorithm |
◆ setResult()
void setResult |
( |
Result * |
res | ) |
|
|
inline |
Sets final results of the algorithm
- Parameters
-
[in] | res | Pointer to the final results of the algorithm |
◆ setupCompute()
Setups internal datastructures for compute function.
Implements AlgorithmContainer< mode >.
Reimplemented in AlgorithmDispatchContainer< mode, DAAL_KERNEL_AVX512_mic_ONLY >, AlgorithmDispatchLayerContainer< mode, DAAL_KERNEL_AVX512_mic_ONLY >, DistributedContainer< step2Master, algorithmFPType, method, cpu >, BatchContainer< algorithmFPType, method, cpu >, BatchContainer< algorithmFPType, method, cpu >, BatchContainer< algorithmFPType, method, cpu >, BatchContainer< algorithmFPType, method, cpu >, BatchContainer< algorithmFPType, method, cpu >, BatchContainer< algorithmFPType, method, cpu >, DistributedContainer< step1Local, algorithmFPType, method, cpu >, BatchContainer< algorithmFPType, method, cpu >, BatchContainer< algorithmFPType, method, cpu >, BatchContainer< algorithmFPType, method, cpu >, BatchContainer< algorithmFPType, method, cpu >, BatchContainer< algorithmFPType, method, cpu >, BatchContainer< algorithmFPType, method, cpu >, BatchContainer< algorithmFPType, method, cpu >, BatchContainer< algorithmFPType, method, cpu >, BatchContainer< algorithmFPType, method, cpu >, BatchContainer< algorithmFPType, method, cpu >, BatchContainer< algorithmFPType, method, cpu >, BatchContainer< algorithmFPType, method, cpu >, BatchContainer< algorithmFPType, method, cpu >, BatchContainer< algorithmFPType, method, cpu >, BatchContainer< algorithmFPType, method, cpu >, and LayerContainerIfaceImpl.
◆ setupFinalizeCompute()
The documentation for this class was generated from the following file: