amdegroot/ssd.pytorch

Why match function in layers.box_utils.py has no return stuff?

KimJunejune opened this issue · 0 comments

the annotation in the defination of the func said, it will return (The matched indices corresponding to 1)location and 2)confidence preds.). However, there is no return at the end of the func. And the func is used in multibox_loss.py to calculate loss. I wonder, without return, how can it be useful? I'd appreciate if anyone can answer my question.