code: def _get_value_line(value: any):
      f = _format_value(value)
  
      if f is not None:
          return [(f, Text.value)]
      elif isinstance(value, str):
          return (
              [('"', Text.subtle)]
              + _shrink(value)
              + [('"', Text.subtle)]
          )
  
      try:
          import numpy
      except ImportError:
          numpy = None
  
      if numpy is not None and isinstance(value, numpy.ndarray):
          return [
              *_format_tensor(
                  _render_tensor(value, new_line="")[0], limit=80
              )[0]
          ]
  
      try:
          import torch
      except ImportError:
          torch = None
  
      if torch is not None and isinstance(value, torch.Tensor):
          return [
              *_format_tensor(
                  _render_tensor(value, new_line="")[0], limit=80
              )[0]
          ]
  
      s = str(value)
      return _shrink(s)
  
imports: import collections
  import math
  from typing import TYPE_CHECKING, List, Tuple
  from labml.internal.util.colors import StyleCode
  from ....logger import Text
label_desc: Use image node_id 10 for calling a global function with example usage: _get_value_line(value) and returns: _shrink, list, list, list, unknown