code: def format_argument_value(value):
      if backend.is_tensor(value):
          # Simplified representation for eager / graph tensors
          # to keep messages readable
          if backend.backend() == "tensorflow":
              tensor_cls = "tf.Tensor"
          elif backend.backend() == "jax":
              tensor_cls = "jnp.ndarray"
          elif backend.backend() == "torch":
              tensor_cls = "torch.Tensor"
          elif backend.backend() == "numpy":
              tensor_cls = "np.ndarray"
          else:
              tensor_cls = "array"
  
          return (
              f"{tensor_cls}(shape={value.shape}, "
              f"dtype={backend.standardize_dtype(value.dtype)})"
          )
      return repr(value)
  
file_path: keras/keras/utils/traceback_utils.py
imports: import inspect
  import os
  import traceback
  import types
  from functools import wraps
  import tree
  from keras import backend
  from keras.api_export import keras_export
  from keras.backend.common import global_state
label_desc: Use image node_id 8 for calling a global function with example usage: format_argument_value(value) and returns: repr, tensor_cls, str, value, str, backend, str