def METHOD_NAME(self, head_out, stride, anchor, ny, nx):
    grid, anchor_grid = self.make_grid(nx, ny, anchor)
    out = F.sigmoid(head_out)
    xy = (out[..., 0:2] * 2. - 0.5 + grid) * stride
    wh = (out[..., 2:4] * 2)**2 * anchor_grid
    lt_xy = (xy - wh / 2.)
    rb_xy = (xy + wh / 2.)
    bboxes = paddle.concat((lt_xy, rb_xy), axis=-1)
    scores = out[..., 5:] * out[..., 4].unsqueeze(-1)
    return bboxes, scores