Non Max Suppression (NMS) in PyTorch