code: def lu_unpack(
      lu_data,
      lu_pivots,
      unpack_datas=True,
      unpack_pivots=True,
      *,
      out=None,
  ):
      A = lu_data
      n = A.shape
      m = len(lu_pivots)
      pivot_matrix = ivy.eye(m)
      L = ivy.tril(A)
      L.fill_diagonal(1.000)
      U = ivy.triu(A)
      for i in range(m):
          if i != lu_pivots[i] - 1:
              pivot_matrix[[i, lu_pivots[i] - 1]] = pivot_matrix[
                  [lu_pivots[i] - 1, i]
              ]
          P = pivot_matrix
      if not unpack_datas:
          L = ivy.zeros(n)
          U = ivy.zeros(n)
          if not unpack_pivots:
              P = ivy.zeros(n)
          else:
              P = pivot_matrix
          result = f"P={P}\n" + f"L={L}\n" + f"U={U}"
          return result
      elif not unpack_pivots:
          P = ivy.zeros(n)
          result = f"P={P}\n" + f"L={L}\n" + f"U={U}"
          return result
      else:
          result = f"P={P}\n" + f"L={L}\n" + f"U={U}"
          return result
  
imports: import ivy
  from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
  from ivy.functional.frontends.paddle import promote_types_of_paddle_inputs
  from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back
label_desc: Use image node_id 14 for calling a global function with example usage: lu_unpack(lu_data, lu_pivots, unpack_datas, unpack_pivots) and returns: result, result, result