Пример #1
0
def build_shift_generator(cfg, input_shape):
    """
    Build FCOS-like shifts generator

    Returns:
        an instance of :class:`ShiftGenerator`
    """
    return ShiftGenerator(cfg, input_shape)
Пример #2
0
def build_shift_generator(cfg, input_shape):

    return ShiftGenerator(cfg, input_shape)