code: def clear_metrics(self):
      self.metrics.clear()
  
file_path: pytorch/benchmarks/distributed/rpc/parameter_server/metrics/MetricsLogger.py
imports: from .CPUMetric import CPUMetric
  from .CUDAMetric import CUDAMetric
label_desc: Use image node_id 4 for calling the MetricsLogger obj's underlying member method code with example usage: obj.clear_metrics() without return types