Provides methods to access the result obtained with the compute() method of the forward softmax layer.
More...
- Deprecated:
- This item will be removed in a future release.
Default constructor
- Deprecated:
- This item will be removed in a future release.
DAAL_EXPORT services::Status allocate |
( |
const daal::algorithms::Input * |
input, |
|
|
const daal::algorithms::Parameter * |
par, |
|
|
const int |
method |
|
) |
| |
Allocates memory to store the result of the forward softmax layer
- Parameters
-
[in] | input | Pointer to an object containing the input data |
[in] | par | Parameter of the backward softmax layer |
[in] | method | Computation method |
- Returns
- Status of computations
services::Status check |
( |
const daal::algorithms::Input * |
input, |
|
|
const daal::algorithms::Parameter * |
par, |
|
|
int |
method |
|
) |
| const |
Checks the result of the forward softmax layer
- Parameters
-
[in] | input | Input object for the algorithm |
[in] | par | Parameter of the algorithm |
[in] | method | Computation method |
- Returns
- Status of computations
Returns result of the forward softmax layer
- Parameters
-
[in] | id | Identifier of the result |
- Returns
- Result that corresponds to the given identifier
virtual const services::Collection<size_t> getValueSize |
( |
const services::Collection< size_t > & |
inputSize, |
|
|
const daal::algorithms::Parameter * |
par, |
|
|
const int |
method |
|
) |
| const |
|
virtual |
Returns dimensions of value tensor
- Returns
- Dimensions of value tensor
void set |
( |
LayerDataId |
id, |
|
|
const data_management::TensorPtr & |
value |
|
) |
| |
Sets the result of the forward softmax layer
- Parameters
-
[in] | id | Identifier of the result |
[in] | value | Pointer to the object |
virtual services::Status setResultForBackward |
( |
const daal::algorithms::Input * |
input | ) |
|
|
virtual |
Sets the result that is used in backward softmax layer
- Parameters
-
[in] | input | Pointer to an object containing the input data |
- Returns
- Status of computations
The documentation for this class was generated from the following file: