code: def set_statistics_adaptor():
      """
      Sets the current device resource to a StatisticsResourceAdaptor
      """
      import rmm
  
      rmm.mr.set_current_device_resource(
          rmm.mr.StatisticsResourceAdaptor(
              rmm.mr.get_current_device_resource()
          )
      )
  
imports: import os
  import tempfile
  from pprint import pformat
  import time
  from dask.distributed import wait, default_client
  from dask import persist
  from dask.distributed import Client
  from dask.base import is_dask_collection
  from dask_cuda import LocalCUDACluster
  from dask_cuda.initialize import initialize
  from cugraph.dask.comms import comms
  from cugraph.dask.common.mg_utils import get_visible_devices
  from cugraph.generators import rmat
  import numpy
label_desc: Use image node_id 6 for calling a global function with example usage: set_statistics_adaptor() without return types