code: def track(self):
      if self.data.samples == 0:
          return
      tracker.add("accuracy.", self.data.correct / self.data.samples)
  
imports: import dataclasses
  import torch
  from labml import tracker
  from .None import Metric
label_desc: Use image node_id 7 for calling the Accuracy obj's underlying member method code with example usage: obj.track() without return types