def build_shift_generator(cfg, input_shape): """ Build FCOS-like shifts generator Returns: an instance of :class:`ShiftGenerator` """ return ShiftGenerator(cfg, input_shape)
def build_shift_generator(cfg, input_shape): return ShiftGenerator(cfg, input_shape)