Provides methods to access the result obtained with the compute() method of the layer algorithm.
More...
- Deprecated:
- This item will be removed in a future release.
- Deprecated:
- This item will be removed in a future release.
services::Status allocate |
( |
const daal::algorithms::Input * |
input, |
|
|
const daal::algorithms::Parameter * |
par, |
|
|
const int |
method |
|
) |
| |
|
inline |
Allocates memory to store the results of layer
- Parameters
-
[in] | input | Pointer to the input structure |
[in] | par | Pointer to the parameter structure |
[in] | method | Computation method of the algorithm |
- Returns
- Status of computations
- Deprecated:
- This item will be removed in a future release.
virtual DAAL_DEPRECATED_VIRTUAL services::Status check |
( |
const daal::algorithms::Input * |
input, |
|
|
const daal::algorithms::Parameter * |
parameter, |
|
|
int |
method |
|
) |
| const |
|
virtual |
Checks the result object for the layer algorithm
- Parameters
-
[in] | input | Input of the algorithm |
[in] | parameter | Parameter of algorithm |
[in] | method | Computation method of the algorithm |
- Returns
- Status of computations
- Deprecated:
- This item will be removed in a future release.
DAAL_DEPRECATED data_management::TensorPtr get |
( |
ResultId |
id | ) |
const |
Returns result of the layer algorithm
- Parameters
-
[in] | id | Identifier of the result |
- Returns
- Result that corresponds to the given identifier
- Deprecated:
- This item will be removed in a future release.
Returns result of the layer algorithm
- Parameters
-
[in] | id | Identifier of the result |
- Returns
- Result that corresponds to the given identifier
- Deprecated:
- This item will be removed in a future release.
Returns the layout of the result object for the layer algorithm
- Returns
- Layout of the result object for the layer algorithm
- Deprecated:
- This item will be removed in a future release.
int getSerializationTag |
( |
| ) |
const |
|
inline |
Returns a serialization tag, a unique identifier of this class used in serialization
- Returns
- Serialization tag
- Deprecated:
- This item will be removed in a future release.
virtual DAAL_DEPRECATED_VIRTUAL data_management::TensorPtr getValue |
( |
size_t |
index | ) |
const |
|
virtual |
Returns resulting value of the layer algorithm
- Parameters
-
[in] | index | Index of the tensor with value |
- Returns
- Resulting value that corresponds to the given index
- Deprecated:
- This item will be removed in a future release.
virtual DAAL_DEPRECATED_VIRTUAL services::Collection< services::Collection<size_t> > getValueCollectionSize |
( |
const services::Collection< size_t > & |
inputSize, |
|
|
const daal::algorithms::Parameter * |
par, |
|
|
const int |
method |
|
) |
| |
|
virtual |
Returns collection of dimensions of layer output
- Parameters
-
[in] | inputSize | Collection of input tensor dimensions |
[in] | par | Parameters of the algorithm |
[in] | method | Method of the algorithm |
- Returns
- Collection of dimensions of layer output
- Deprecated:
- This item will be removed in a future release.
virtual DAAL_DEPRECATED_VIRTUAL const services::Collection<size_t> getValueSize |
( |
const services::Collection< size_t > & |
inputSize, |
|
|
const daal::algorithms::Parameter * |
par, |
|
|
const int |
method |
|
) |
| const |
|
pure virtual |
Returns collection of dimensions of layer output
- Parameters
-
[in] | inputSize | Collection of input tensor dimensions |
[in] | par | Parameters of the algorithm |
[in] | method | Method of the algorithm |
- Returns
- Collection of dimensions of layer output
- Deprecated:
- This item will be removed in a future release.
virtual DAAL_DEPRECATED_VIRTUAL services::Collection<size_t> getValueSize |
( |
const services::Collection< services::Collection< size_t > > & |
inputSize, |
|
|
const daal::algorithms::Parameter * |
par, |
|
|
const int |
method |
|
) |
| |
|
virtual |
Returns collection of dimensions of layer output
- Parameters
-
[in] | inputSize | Collection of input tensors dimensions |
[in] | par | Parameters of the algorithm |
[in] | method | Method of the algorithm |
- Returns
- Collection of dimensions of layer output
- Deprecated:
- This item will be removed in a future release.
DAAL_DEPRECATED void set |
( |
ResultId |
id, |
|
|
const data_management::TensorPtr & |
ptr |
|
) |
| |
Sets the result of the layer algorithm
- Parameters
-
[in] | id | Identifier of the result |
[in] | ptr | Pointer to the result |
- Deprecated:
- This item will be removed in a future release.
Sets the result of the layer algorithm
- Parameters
-
[in] | id | Identifier of the result |
[in] | ptr | Pointer to the result |
- Deprecated:
- This item will be removed in a future release.
virtual DAAL_DEPRECATED_VIRTUAL services::Status setResultForBackward |
( |
const daal::algorithms::Input * |
input | ) |
|
|
inlinevirtual |
Sets the result that is used in backward layer
- Parameters
-
[in] | input | Pointer to an object containing the input data |
- Returns
- Status of computations
- Deprecated:
- This item will be removed in a future release.
The documentation for this class was generated from the following file: