There is a rule on why am I assigning a certain number to the loss but I have just simplified my problem for understanding. I am working on a custom loss value that I think that would help the network in better learning. The loss in each iteration would be different based on a rule so I think the gradients would get better each iteration. I think that is another topic to discuss what the gradients would be, but for now, I am interested in changing the loss value to another value.