def METHOD_NAME(self, input):
    grid_sizes = [paddle.shape(feature_map)[-2:] for feature_map in input]
    anchors_over_all_feature_maps = self._grid_anchors(grid_sizes)
    return anchors_over_all_feature_maps