class_docstr: Manager that fetches system related info
class_docstr_tok: ["Manager","that","fetches","system","related","info"]
docstr: Parameters
  ----------
  format: {"B", "KB", "MB", "GB", "TB", "PB"}
  
  Returns
  -------
  Memory size in the provided `format`.
docstr_tok: ["Parameters","--","--","--","--","--","format",":","{","``","B","''",",","``","KB","''",",","``","MB","''",",","``","GB","''",",","``","TB","''",",","``","PB","''","}","Returns","--","--","--","-","Memory","size","in","the","provided","`","format","`","."]
code: def get_memory_size(format: str = "B") -> float:
      """
  
      Parameters
      ----------
      format: {"B", "KB", "MB", "GB", "TB", "PB"}
  
      Returns
      -------
      Memory size in the provided `format`.
  
      """
      bytes = ResourceManager._get_memory_size()
      return ResourceManager.bytes_converter(
          value=bytes, format_in="B", format_out=format
      )
  
imports: import logging
  import multiprocessing
  import os
  import shutil
  import subprocess
  from typing import Union
  from autogluon.common.utils.try_import import try_import_ray
  from .distribute_utils import DistributedContext
  from .lite import disable_if_lite_mode
  from .utils import bytes_to_mega_bytes
label_desc: Use image node_id 6 for calling the ResourceManager obj's underlying member method code with example usage: obj.get_memory_size(format) and returns: ResourceManager