code: def update(self, output):
      self.list_ = output
  
imports: import os
  import numpy
  import pytest
  import torch
  from pytest import approx
  from sklearn.metrics import f1_score, precision_score, recall_score
  import ignite.distributed
  from ignite.engine import Engine
  from ignite.metrics import Accuracy, Metric, MetricsLambda, Precision, Recall
label_desc: Use image node_id 3 for calling the ListGatherMetric obj's underlying member method code with example usage: obj.update(output) without return types