code: def __init__(
      self,
      policy: Policy,
      *args,
      **kwargs,
  ):
      super().__init__(automatic_optimization=False, *args, **kwargs)
      assert isinstance(policy.scorer, MABBaseModel)
      self.scorer = policy.scorer
  
file_path: ReAgent/reagent/training/cb/mab_trainer.py
imports: import logging
  from reagent.core.types import CBInput
  from reagent.gym.policies.policy import Policy
  from reagent.models.mab import MABBaseModel
  from reagent.training.cb.base_trainer import BaseCBTrainerWithEval
label_desc: Use image node_id 1 to create a new MABTrainer object from inherited base classes: BaseCBTrainerWithEval with example: obj = MABTrainer(policy)