Developer Guide for Intel® Data Analytics Acceleration Library 2019 Update 4
The backward loss 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 layer. |
The inputGradient field stores a null pointer because there is no input gradient on the last layer.
The backward loss 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 the tensor that stores the result of the backward loss layer. This input can be an object of any class derived from Tensor. |