|
Algorithm 9 Adaptive Weighted Softmax Loss with Focal Modification |
Require:
Compute using the softmax transformation
Initialize and as zero matrices of the same shape as
Compute adaptive weights using y and
for to do
for to do
weight for the pair
end for
end forreturn
|