For my model, the total loss function is of the form L = c1*L1 + c2*L2 + c3*L3 + .. where c1, c2, c3, … are to be trainable coefficients of a loss function and L1, L2, L3,… are individual loss function terms.
Since these coefficient parameters are outside my model trainable weights, how can I train these coefficients so as to minimize the loss function L?
Thank you in advance.