class_docstr: Meter to calculate recall@k.
  
  Supports multi-target and multiple output. A list of recall meters is
  constructed and each output has a meter associated. Note RecallAtK is different
  than vanilla Recall.
  
  Example:
      target = [0 1 0 1 0]  # Correct classes are 1, 3
  
      pred = [0.06, 0.41, 0.04, 0.39, 0.1]  # Top-1 prediction is 1, top-3 is 1, 3, 0
  
      Recall@1: 1 correct / 2 total labels = 0.5
      Recall@3: 2 correct / 2 total labels = 1.0
  
  Args:
      num_meters: number of meters and hence we have same number of outputs
      topk_values: list of int `k` values. Example: [1, 5]
      meter_names: list of str indicating the name of meter. Usually corresponds
                   to the output layer name.
class_docstr_tok: ["Meter","to","calculate","recall","@","k.","Supports","multi-target","and","multiple","output",".","A","list","of","recall","meters","is","constructed","and","each","output","has","a","meter","associated",".","Note","RecallAtK","is","different","than","vanilla","Recall",".","Example",":","target","=","[","0","1","0","1","0","]","#","Correct","classes","are","1",",","3","pred","=","[","0.06",",","0.41",",","0.04",",","0.39",",","0.1","]","#","Top-1","prediction","is","1",",","top-3","is","1",",","3",",","0","Recall","@","1",":","1","correct","\/","2","total","labels","=","0.5","Recall","@","3",":","2","correct","\/","2","total","labels","=","1.0","Args",":","num_meters",":","number","of","meters","and","hence","we","have","same","number","of","outputs","topk_values",":","list","of","int","`","k","`","values",".","Example",":","[","1",",","5","]","meter_names",":","list","of","str","indicating","the","name","of","meter",".","Usually","corresponds","to","the","output","layer","name","."]
docstr: Name of the meter
docstr_tok: ["Name","of","the","meter"]
code: def name(self):
      """
      Name of the meter
      """
      return "recall_at_k_list_meter"
  
file_path: vissl/vissl/meters/recall_at_k_list_meter.py
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, RecallAtKMeter, register_meter
  from vissl.config import AttrDict
label_desc: Use image node_id 3 for calling the RecallAtKListMeter obj's underlying member method code with example usage: obj.name() and returns: str