C++ API Reference for Intel® Data Analytics Acceleration Library 2018 Update 2

List of all members
Batch< algorithmFPType, method > Class Template Reference

Computes the result of the forward abs layer in the batch processing mode. More...

Class Declaration

template<typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = defaultDense>
class daal::algorithms::neural_networks::layers::abs::forward::interface1::Batch< algorithmFPType, method >

Template Parameters
algorithmFPTypeData type to use in intermediate computations of the forward abs layer, double or float
methodForward abs layer method, Method
Enumerations
  • Method Computation methods for the forward abs layer
  • forward::InputId Identifiers of input objects for the forward abs layer
  • forward::ResultId Identifiers of result objects for the forward abs layer
  • LayerDataId Identifiers of extra results computed by the forward abs layer
References

Constructor & Destructor Documentation

◆ Batch() [1/3]

Batch ( )
inline

Default constructor

◆ Batch() [2/3]

Batch ( ParameterType parameter)
inline

Constructs a forward abs layer in the batch processing mode and initializes its parameter with the provided parameter

Parameters
[in]parameterParameter to initialize the parameter of the layer

◆ Batch() [3/3]

Batch ( const Batch< algorithmFPType, method > &  other)
inline

Constructs a forward abs layer by copying input objects and parameters of another forward abs layer in the batch processing mode

Parameters
[in]otherAlgorithm to use as the source to initialize the input objects and parameters of the algorithm

Member Function Documentation

◆ allocateResult()

virtual services::Status allocateResult ( )
inlinevirtual

Allocates memory to store the result of the forward abs layer

Returns
Status of computations

Implements LayerIface.

◆ clone()

services::SharedPtr<Batch<algorithmFPType, method> > clone ( ) const
inline

Returns a pointer to the newly allocated forward abs layer with a copy of input objects and parameters of this forward abs layer in the batch processing mode

Returns
Pointer to the newly allocated algorithm

◆ getLayerInput()

virtual InputType* getLayerInput ( )
inlinevirtual

Returns the structure that contains input objects of the abs forward layer

Returns
Structure that contains input objects of the abs forward layer

Implements LayerIface.

◆ getLayerParameter()

virtual ParameterType* getLayerParameter ( )
inlinevirtual

Returns the structure that contains parameters of the forward abs layer

Returns
Structure that contains parameters of the forward abs layer

Implements LayerIface.

◆ getLayerResult()

layers::forward::ResultPtr getLayerResult ( )
inlinevirtual

Returns the structure that contains result of the forward abs layer

Returns
Structure that contains result of the forward abs layer

Implements LayerIface.

◆ getMethod()

virtual int getMethod ( ) const
inlinevirtual

Returns the method of the algorithm

Returns
Method of the algorithm

Implements AlgorithmIface.

◆ getResult()

ResultPtr getResult ( )
inline

Returns the structure that contains result of the forward abs layer

Returns
Structure that contains result of the forward abs layer

◆ setResult()

services::Status setResult ( const ResultPtr result)
inline

Registers user-allocated memory to store result of the forward abs layer

Parameters
[in]resultStructure to store result of the forward abs layer
Returns
Status of computations

Member Data Documentation

◆ input

InputType input

Input objects of the layer

◆ parameter

ParameterType& parameter

Abs layer parameters structure


The documentation for this class was generated from the following file:

For more complete information about compiler optimizations, see our Optimization Notice.