code: def transform(self, tfms:TfmList, tfm_y:bool=None, **kwargs):
          "Set the `tfms` and `tfm_y` value to be applied to the inputs and targets."
          _check_kwargs(self.x, tfms, **kwargs)
          if tfm_y is None: tfm_y = self.tfm_y
          if tfm_y: _check_kwargs(self.y, tfms, **kwargs)
          self.tfms,  self.tfmargs   = tfms,kwargs
          self.tfm_y, self.tfmargs_y = tfm_y,kwargs
          self.tfms_y = None if tfms is None else list(filter(lambda t: t.use_on_y, listify(tfms)))
          return self transform(self, tfms:TfmList, tfm_y:bool=None, **kwargs):
          "Set the `tfms` and `tfm_y` value to be applied to the inputs and targets."
          _check_kwargs(self.x, tfms, **kwargs)
          if tfm_y is None: tfm_y = self.tfm_y
          if tfm_y: _check_kwargs(self.y, tfms, **kwargs)
          self.tfms,  self.tfmargs   = tfms,kwargs
          self.tfm_y, self.tfmargs_y = tfm_y,kwargs
          self.tfms_y = None if tfms is None else list(filter(lambda t: t.use_on_y, listify(tfms)))
          return self
docs: Set the `tfms` and `tfm_y` value to be applied to the inputs and targets.