code: def accumulate_metrics(self, preds):
      for metric in self.metrics:
          metric.accumulate(preds=preds)
  
file_path: icevision/icevision/engines/lightning/lightning_model_adapter.py
imports: import pytorch_lightning
  from icevision.imports import *
  from icevision.metrics import *
label_desc: Use image node_id 2 for calling the LightningModelAdapter obj's underlying member method code with example usage: obj.accumulate_metrics(preds) without return types