I have a custom loss layer that discounts the loss for a specific class (because of class imbalance) and decreases the discount over the entire training period (until, eventually, there is no discount at all).
How would I decrement this value from epoch to epoch? I'm specifying my loss function like this:
....