You could use one forward method with a condition calling two other functions or just running different code:
def forward(self, x):
    if cond:
        output = forward1(x)
        # or
        output = your calculation ...
    else:
        output = forward2(x)
        # or
        output = your calculation ...
    return output