code: def __init__(self, samplers: List[Callable], **kwargs) -> None:
      super().__init__(samplers)
      self.chunksize = kwargs.get("chunksize", 1)
      self.sample_fcn = lambda actor, anchor, n_samples, compute_labels=True: actor.__call__.remote(
          anchor, n_samples, compute_labels=compute_labels
      )
      self.pool = ActorPool(samplers)
      self.samplers = samplers
  
imports: import logging
  from typing import Any, Callable, Dict, List, Optional, Tuple, Type, Union
  import numpy
  import ray
  from alibi.api.interfaces import Explanation
  from alibi.utils.discretizer import Discretizer
  from alibi.utils.mapping import ohe_to_ord
  from .anchor_base import AnchorBaseBeam
  from .anchor_tabular import AnchorTabular, TabularSampler
  from alibi.utils.distributed import ActorPool
  from functools import partial
label_desc: Use image node_id 1 to create a new DistributedAnchorBaseBeam object from inherited base classes: AnchorBaseBeam with example: obj = DistributedAnchorBaseBeam(samplers)