def METHOD_NAME(self, x, interact_begin_idx=2):
    input_size = paddle.shape(x)[-2:]
    inputs = self._preprocess_input(x)
    feats = []
    for path, x in zip(self.nets, inputs):
        inp = x
        for idx in range(interact_begin_idx + 1):
            inp = path[idx](inp)
        feats.append(inp)
    for idx in range(interact_begin_idx + 1, self.num_blocks):
        feats = _multipath_interaction(feats)
        feats = [path[idx](x) for path, x in zip(self.nets, feats)]
    size = paddle.shape(feats[0])[-2:]
    feats = [_interpolate(x, size=size) for x in feats]
    out = self.head(paddle.concat(feats, 1))
    return [_interpolate(out, size=input_size)]