code: def as_str_any(value):
      """Converts to `str` as `str(value)`, but use `as_str` for `bytes`.
  
      Args:
      value: A object that can be converted to `str`.
  
      Returns:
      A `str` object.
      """
      if isinstance(value, bytes):
          return as_str(value)
      else:
          return str(value)
  
imports: import numbers
  import numpy
  from tensorboard.compat.tensorflow_stub.compat.v1 import *
label_desc: Use image node_id 3 for calling a global function with example usage: as_str_any(value) and returns: as_str, str