code: def track(self):
      if self.data.tp + self.data.fp > 0:
          tracker.add(
              "prcn.", self.data.tp / (self.data.tp + self.data.fp)
          )
      if self.data.tp + self.data.fn > 0:
          tracker.add(
              "recl.", self.data.tp / (self.data.tp + self.data.fn)
          )
  
file_path: labml/helpers/labml_helpers/metrics/recall_precision.py
imports: import dataclasses
  import torch
  from labml import tracker
  from .None import Metric
label_desc: Use image node_id 6 for calling the RecallPrecision obj's underlying member method code with example usage: obj.track() without return types