code: def _uninstall_stream_patches(cls):
      sys.stdout.write = cls._old_out_write
      sys.stderr.write = cls._old_err_write
  
imports: import io
  import logging
  import re
  import sys
  import time
  import weakref
  from psutil import Process, cpu_percent
  from threading import Thread
  from typing import Union
  from weakref import WeakValueDictionary
  from aim.ext.resource.configs import AIM_RESOURCE_METRIC_PREFIX
  from aim.ext.resource.log import LogLine
  from aim.ext.resource.stat import Stat
label_desc: Use image node_id 2 for calling the ResourceTracker obj's underlying member method code with example usage: obj._uninstall_stream_patches(cls) without return types