code: def numpy_printoptions_from_screen_info(screen_info):
      if screen_info and "cols" in screen_info:
          return {"linewidth": screen_info["cols"]}
      else:
          return {}
  
imports: import math
  import numpy
  from tensorflow.python.debug.cli import command_parser
  from tensorflow.python.debug.cli import debugger_cli_common
  from tensorflow.python.debug.cli import tensor_format
  from tensorflow.python.debug.lib import common
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import gfile
label_desc: Use image node_id 4 for calling a global function with example usage: numpy_printoptions_from_screen_info(screen_info) and returns: dict, dict