def transformations(self, size, target_size):
        sw, sh = size
        tw, th = target_size
        if not self.expand and tw <= sw:
            return []
        h = sh*tw//sw
        return [('resize', (tw, h))]
dataset/ETHPy150Open SmartTeleMax/iktomi/iktomi/unstable/utils/image_resizers.py/ResizeFixedWidth.transformations/swapped operands of `<=`