bb - N x 4 tensor of boxes. sz_norm - [N] x 2 tensor of value of [sw, sh] (optional). sw=w and sh=h if not given.