code: def to_str(value):
      str_value = str(value)
      if str_value == Value.default_repr(value):
          if value.__class__.__module__ == "__main__":
              return value.__class__.__name__
          else:
              return f"{value.__class__.__module__}.{value.__class__.__name__}"
      else:
          return str_value
  
file_path: labml/client/labml/internal/configs/utils.py
imports: import warnings
  from typing import Tuple, Union, List, TYPE_CHECKING
label_desc: Use image node_id 7 for calling the Value obj's underlying member method code with example usage: obj.to_str(value) and returns: str_value, value, value, str, value