def convertible_rsub(x, y): return (x - y), torch.rsub(y, x)
def forward(self, a, b): a1 = torch.add(a, b) b1 = torch.rsub(a, b) c1 = torch.sub(a, b) d1 = torch.mul(a, b) return a1, b1, c1, d1
def test_f(a): return torch.rsub((a * a), 20)
def forward(self, tensor, other): if other.size() == torch.Size([]): return torch.rsub((tensor * tensor), other.item()) else: third = torch.rsub(tensor, other) return torch.rsub(third, third)
def test_f(a, b): c = torch.rsub(a, b) return torch.rsub(c, c)