code: def file_size_in_human_format(size: int) -> str:
      size = float(size)
      if size < 1024:
          return "%.1fB" % size
      elif size < 1024 * 1024:
          return "%.1fK" % (size / 1024)
      elif size < 1024 * 1024 * 1024:
          return "%.1fM" % (size / (1024 * 1024))
      else:
          return "%.1fG" % (size / (1024 * 1024 * 1024))
  
file_path: PaddleHub/paddlehub/commands/clear.py
imports: import os
  import shutil
  from typing import List
  import paddlehub.env
  from paddlehub.commands import register
label_desc: Use image node_id 1 for calling a global function with example usage: file_size_in_human_format(size) and returns: unknown, unknown, unknown, unknown