def _ll_pre_transform(self, train_tfm:List[Callable], valid_tfm:List[Callable]):
    "Call `train_tfm` and `valid_tfm` after opening image, before converting from `PIL.Image`"
    self.train.x.after_open = compose(train_tfm)
    self.valid.x.after_open = compose(valid_tfm)
    return self
def _ll_pre_transform ( self , train_tfm : List [ Callable ] , valid_tfm : List [ Callable ] ) : self . train . x . after_open = compose ( train_tfm ) self . valid . x . after_open = compose ( valid_tfm ) return self
Call `train_tfm` and `valid_tfm` after opening image, before converting from `PIL.Image`