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

List of all members
Input Class Reference

Input objects for layer algorithm More...

Additional Inherited Members

- Static Protected Member Functions inherited from Argument
static data_management::DataCollectionPtr & getStorage (Argument &a)
 
static const data_management::DataCollectionPtr & getStorage (const Argument &a)
 

Class Declaration

Constructor & Destructor Documentation

◆ Input()

Input ( size_t  nElements = lastInputLayerDataId+1)

Constructs input objects for the forward layer of neural network

Parameters
[in]nElementsNumber of input objects for the forward layer

Member Function Documentation

◆ addData()

virtual services::Status addData ( const data_management::TensorPtr &  dataTensor,
size_t  index 
)
virtual

Adds tensor with data to the input object of the layer algorithm

Parameters
[in]dataTensorTensor with data
[in]indexIndex of the tensor with data
Returns
Status of computations

Reimplemented in Input, and Input.

◆ check()

services::Status check ( const daal::algorithms::Parameter par,
int  method 
) const
virtual

Checks an input object for the layer algorithm

Parameters
[in]parParameter of algorithm
[in]methodComputation method of the algorithm
Returns
Status of computations

Reimplemented from Input.

Reimplemented in Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, and Input.

◆ eraseInputData()

virtual services::Status eraseInputData ( )
inlinevirtual

Erases input data tensor from the input of the forward layer

Returns
Status of computations

Reimplemented in Input, and Input.

◆ get() [1/2]

data_management::TensorPtr get ( forward::InputId  id) const

Returns input Tensor of the layer algorithm

Parameters
[in]idIdentifier of the input tensor
Returns
Input tensor that corresponds to the given identifier

◆ get() [2/2]

LayerDataPtr get ( forward::InputLayerDataId  id) const

Returns input InputLayerData of the layer algorithm

Parameters
[in]idIdentifier of the input object
Returns
Input InputLayerData that corresponds to the given identifier

◆ getBiasesSizes()

virtual const services::Collection<size_t> getBiasesSizes ( const layers::Parameter parameter) const
virtual

Returns dimensions of biases tensor

Returns
Dimensions of biases tensor

Reimplemented in Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, and Input.

◆ getLayout()

virtual LayerInputLayout getLayout ( )
virtual

Returns the layout of the input object for the layer algorithm

Returns
Layout of the input object for the layer algorithm

Reimplemented in Input.

◆ getWeightsSizes()

virtual const services::Collection<size_t> getWeightsSizes ( const layers::Parameter parameter) const
virtual

Returns dimensions of weights tensor

Returns
Dimensions of weights tensor

Reimplemented in Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, Input, and Input.

◆ set() [1/2]

void set ( InputId  id,
const data_management::TensorPtr &  ptr 
)

Sets input for the layer algorithm

Parameters
[in]idIdentifier of the input object
[in]ptrPointer to the object

◆ set() [2/2]

void set ( InputLayerDataId  id,
const LayerDataPtr &  ptr 
)

Sets input for the layer algorithm

Parameters
[in]idIdentifier of the input object
[in]ptrPointer to the object

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

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