def METHOD_NAME(self, src, loc, conf):
    ret = []
    for s, l, c in zip(src, loc, conf):
        ret.append((l(s).view(s.size(0), 4, -1), c(s).view(s.size(0), self.label_num, -1)))
    locs, confs = list(zip(*ret))
    locs, confs = torch.cat(locs, 2).contiguous(), torch.cat(confs, 2).contiguous()
    return locs, confs