class_docstr: Meter to calculate mean AP metric for multi-label image classification task
  on multiple output single target.
  
  Supports Single target and multiple output. A list of mean AP meters is
  constructed and each output has a meter associated.
  
  Args:
      meters_config (AttrDict): config containing the meter settings
  
  meters_config should specify the num_meters and meter_names
class_docstr_tok: ["Meter","to","calculate","mean","AP","metric","for","multi-label","image","classification","task","on","multiple","output","single","target",".","Supports","Single","target","and","multiple","output",".","A","list","of","mean","AP","meters","is","constructed","and","each","output","has","a","meter","associated",".","Args",":","meters_config","(","AttrDict",")",":","config","containing","the","meter","settings","meters_config","should","specify","the","num_meters","and","meter_names"]
code: def __init__(self, meters_config: AttrDict):
      self.meters_config = meters_config
      num_meters = self.meters_config["num_meters"]
      meter_names = self.meters_config["meter_names"]
      assert is_pos_int(num_meters), "num_meters must be positive"
      self._num_meters = num_meters
      self._meters = [
          MeanAPMeter.from_config(meters_config)
          for _ in range(self._num_meters)
      ]
      self._meter_names = meter_names
      self.reset()
  
imports: import pprint
  from typing import List, Union
  import torch
  from classy_vision.generic.util import is_pos_int
  from classy_vision.meters import ClassyMeter, register_meter
  from vissl.config import AttrDict
  from vissl.meters.mean_ap_meter import MeanAPMeter
label_desc: Use image node_id 1 to create a new MeanAPListMeter object from inherited base classes: ClassyMeter with example: obj = MeanAPListMeter(meters_config)