code: def __init__(self, ignore_index: int = -1, queue_size: int = 5):
      super().__init__()
      self.ignore_index = ignore_index
      tracker.set_queue("accuracy.*", queue_size, is_print=True)
  
imports: import dataclasses
  import torch
  from labml import tracker
  from .None import Metric
label_desc: Use image node_id 1 to create a new AccuracyMovingAvg object from inherited base classes: Metric with example: obj = AccuracyMovingAvg(ignore_index, queue_size)