class_docstr: Stats for AMD GPU devices.
code: def clear(self) -> None:
      self.samples.clear()
  
imports: import json
  import logging
  import shutil
  import subprocess
  import sys
  import threading
  from collections import deque
  from typing import TYPE_CHECKING, Any, Dict, List, Union
  from wandb.sdk.lib import telemetry
  from .aggregators import aggregate_mean
  from .asset_registry import asset_registry
  from .interfaces import Interface, Metric, MetricsMonitor
label_desc: Use image node_id 4 for calling the GPUAMDStats obj's underlying member method code with example usage: obj.clear() without return types