code: def _from_ivy_array_to_paddle_frontend_tensor(
      x, nested=False, include_derived=None
  ):
      if nested:
          return ivy.nested_map(
              _from_ivy_array_to_paddle_frontend_tensor,
              x,
              include_derived,
              shallow=False,
          )
      elif isinstance(x, ivy.Array) or ivy.is_native_array(x):
          a = paddle_frontend.Tensor(x)
          return a
      return x
  
file_path: ivy/ivy/functional/frontends/paddle/func_wrapper.py
imports: from typing import Callable
  import functools
  import ivy
  import ivy.functional.frontends.paddle
label_desc: Use image node_id 1 for calling a global function with example usage: _from_ivy_array_to_paddle_frontend_tensor(x, nested, include_derived) and returns: x, ivy, a