code: def _from_ivy_array_to_jax_frontend_array_weak_type(
      x, nested=False, include_derived=None
  ):
      if nested:
          return ivy.nested_map(
              _from_ivy_array_to_jax_frontend_array_weak_type,
              x,
              include_derived,
              shallow=False,
          )
      elif isinstance(x, ivy.Array):
          return jax_frontend.Array(x, weak_type=True)
      return x
  
file_path: ivy/ivy/functional/frontends/jax/func_wrapper.py
imports: import functools
  from typing import Callable
  import inspect
  import ivy
  import ivy.functional.frontends.jax
  import ivy.functional.frontends.numpy
label_desc: Use image node_id 2 for calling a global function with example usage: _from_ivy_array_to_jax_frontend_array_weak_type(x, nested, include_derived) and returns: x, ivy, jax_frontend