In the batch operation , the code using the inverse_batch function to RT_target, as following,
RT_total = torch.bmm(inverse_batch(RT_target.inverse()), RT_predicted).
However, in the origin code, no inverse function is called, RT_total = torch.mm(RT_target.inverse(), RT_predicted).