Tuple error, object is not callable

im trying to create these two layers in pytorch but when i try to pass the output of the first layer to the second i get a tuple error saying that the object is not callable,

    xs = F.relu(F.max_pool2d(self.loc_1(x), 2))
    xs2 = F.relu(F.max_pool2d(self.loc_4(xs), 2))

here are the two layers in question, any help would be greatly appreciated

nevermind i solved the problem