pytorch inverse transforms code example Example: pytorch inverse x = torch.rand(4, 4) y = torch.inverse(x)