Non-maximum suppression(NMS) with IoU threshold

Hi, I have a doubt in this method.

from torchvision.ops import nms

Here, in nms method, the IoU threshold value is 0.05, does it mean, it is considering the predicted bbox which is greater than 5 %?

or

is it 1 - 0.05 = 0.95 → 95 % percent of overlap?

from torchvision.ops import nms
nms(torch.tensor(bbs.astype(np.float32)), torch.tensor(confs), 0.05)