code: def numpy_text(tensor, is_repr=False):
      if is_repr:
          return repr(tensor)
      return str(tensor)
  
file_path: probability/tensorflow_probability/python/internal/backend/numpy/private.py
imports: import contextlib
  import importlib
  import logging
  import types
  import numpy
  from tensorflow_probability.python.internal.backend.numpy import _utils
label_desc: Use image node_id 4 for calling a global function with example usage: numpy_text(tensor, is_repr) and returns: str, repr