(dets, thresh)
return cpu_nms(dets, thresh)
Dispatch to either CPU or GPU NMS implementations.
Dispatch to either CPU or GPU NMS implementations.
Dispatch to either CPU or GPU NMS implementations .
def nms(dets, thresh):
    """Dispatch to either CPU or GPU NMS implementations."""

    if dets.shape[0] == 0:
        return []
    return cpu_nms(dets, thresh)
def nms ( dets , thresh ) : if dets . shape [ 0 ] == 0 : return [ ] return cpu_nms ( dets , thresh )