Developer Guide for Intel® Data Analytics Acceleration Library 2019 Update 4
The backward loss logistic cross-entropy layer accepts the input described below. Pass the Input ID as a parameter to the methods that provide input for your algorithm. For more details, see Algorithms.
Input ID |
Input |
|
---|---|---|
inputGradient |
Pointer to the tensor that stores the input gradient computed on the preceding layer. This input can be an object of any class derived from Tensor. |
|
inputFromForward |
Collection of data needed for the backward loss logistic cross-entropy layer. The collection may contain objects of any class derived from Tensor. |
|
Element ID |
Element |
|
auxData |
Pointer to tensor X of size n1 x 1 that stores probabilities for the forward loss logistic cross-entropy layer. This input can be an object of any class derived from Tensor. |
|
auxGroundTruth |
Pointer to tensor T of size n1 x 1 that stores the ground truth data for the forward loss logistic cross-entropy layer. This input can be an object of any class derived from Tensor. |
The inputGradient field stores a null pointer since there is no input gradient on the last layer.
For common parameters of neural network layers, see Common Parameters.
In addition to the common parameters, the backward loss logistic cross-entropy layer has the following parameters:
Parameter |
Default Value |
Description |
|
---|---|---|---|
algorithmFPType |
float |
The floating-point type that the algorithm uses for intermediate computations. Can be float or double. |
|
method |
defaultDense |
Performance-oriented computation method, the only method supported by the layer. |
The backward loss logistic cross-entropy layer calculates the result described below. Pass the Result ID as a parameter to the methods that access the results of your algorithm. For more details, see Algorithms.
Result ID |
Result |
|
---|---|---|
gradient |
Pointer to tensor Z of size n1 x 1 that stores the result of the backward loss logistic cross-entropy layer. This input can be an object of any class derived from Tensor. |
C++: loss_logistic_entr_layer_dense_batch.cpp