def show_size(s):
  """String that translates size in bytes to kB, Mb, etc."""
  return '%d %.2f kB %.2f Mb %.2f Gb' % (s, s / 1024., s / (1024. * 1024.), s /
                                         (1024. * 1024. * 1024.))
String that translates size in bytes to kB, Mb, etc.
language/nql/demos/gridworld_scaling/scaling_eval.py