code: def train_transform(self, images, surpress_mapping_check = False):
          r
          ret = self.train(images)
          outputs = [self.transform(i, surpress_mapping_check) for i in images]
          return ret, outputs
docs: r"""
          See also
          --------
          train, transform