class_docstr: A sampler that combines positive sampler and negative sampler.
class_docstr_tok: ["A","sampler","that","combines","positive","sampler","and","negative","sampler","."]
code: def __init__(self, pos_sampler, neg_sampler, **kwargs):
      super(CombinedSampler, self).__init__(**kwargs)
      self.pos_sampler = TASK_UTILS.build(
          pos_sampler, default_args=kwargs
      )
      self.neg_sampler = TASK_UTILS.build(
          neg_sampler, default_args=kwargs
      )
  
imports: from mmdet.registry import TASK_UTILS
  from .base_sampler import BaseSampler
label_desc: Use image node_id 1 to create a new CombinedSampler object from inherited base classes: BaseSampler with example: obj = CombinedSampler(pos_sampler, neg_sampler)