hi,
thanks for your reply. This does look like a way to achieve what I'm trying to do. Also, for example, there are two same kind of losses in the network, one at the output and at a hidden layer. I want to make sure that the loss function at the earlier stage vanishes after a few iterations. Do you have an idea about how will I be able to do that ?