class_docstr: Batch predictor class.
  
  Takes a predictor class and a checkpoint and provides an interface to run
  batch scoring on Datasets.
  
  This batch predictor wraps around a predictor class and executes it
  in a distributed way when calling ``predict()``.
code: def __init__(
      self,
      checkpoint: Checkpoint,
      predictor_cls: Type[Predictor],
      **predictor_kwargs,
  ):
      raise DeprecationWarning(
          BATCH_PREDICTION_DEPRECATION_MSG,
      )
  
imports: import logging
  from typing import Type
  from ray.train import Checkpoint
  from ray.train.predictor import Predictor
  from ray.util.annotations import Deprecated
label_desc: Use image node_id 1 to create a new BatchPredictor object  with example: obj = BatchPredictor(checkpoint, predictor_cls)