Hi,
just a “replacement” of the loss value is probably not possible, as how should it be backpropagated ? (as the backpropagation is based on the calculation of the loss value and then take the derivative). If you think about making larger/smaller steps in the optimization, perhaps looking at the learning rate could help you.