I know that probably this is because my forward pass is not fully direntiable:
y_pred= (a*x[:,0]+b)<x[:,1]
First I want to make sure that this is the only problem.
Second I want to ask if (hypothetically) I can define a backward pass for  torch.ge(), where should I put it so that autograd would understand it.