ray.train.lightning.LightningPredictor.set_preprocessor#

LightningPredictor.set_preprocessor(preprocessor: Optional[ray.data.preprocessor.Preprocessor]) None#

Set the preprocessor to use prior to executing predictions.