code: def _remove_np_bfloat16(obj):
      # unlike other frameworks, torch and paddle do not support creating tensors
      # from numpy arrays that have bfloat16 dtype using any extension because
      # bfloat16 in not supported natively by numpy (as of version <=1.25)
      if isinstance(obj, np.ndarray) and obj.dtype.name == "bfloat16":
          return obj.tolist()
      return obj
  
imports: from __future__ import annotations
  import functools
  from numbers import Number
  from typing import Union, Tuple, Optional, List, Sequence, Callable, Protocol, TypeVar, Iterable
  import numpy
  import ivy
  from ivy import to_ivy
  from ivy.utils.exceptions import handle_exceptions
  from ivy.utils.backend import current_backend
  from ivy.func_wrapper import handle_array_function, infer_dtype, handle_out_argument, outputs_to_ivy_arrays, inputs_to_native_arrays, inputs_to_native_shapes, to_native_arrays_and_back, handle_nestable, handle_array_like_without_promotion, handle_device, handle_backend_invalid, temp_asarray_wrapper
label_desc: Use image node_id 5 for calling a global function with example usage: _remove_np_bfloat16(obj) and returns: obj, obj