ray.data.preprocessors.TorchVisionPreprocessor.set_version#

classmethod TorchVisionPreprocessor.set_version(version: int) None#

Set the version number for this preprocessor class.

Parameters:

version – The version number for this preprocessor’s serialization format.