code: def to_str(item):
      if isinstance(item, float):
          return f"{item:.4g}"
      return str(item)
  
imports: import argparse
  import copy
  import gc
  import json
  import sys
  import time
  from collections import namedtuple
  import torch
  from torch.autograd.profiler import record_function
  from .fuser import set_fuser
  from .runner import get_nn_runners
label_desc: Use image node_id 2 for calling a global function with example usage: to_str(item) and returns: str, item