@ptrblck thank you for the answer! I wanted to avoid conditions as it would lead to a bunch of them being in the forward pass. I just wanted to make sure if this is the best solution for such a problem.