code: def concat_from_sequence(
      input_sequence: Union[Tuple[paddle.Tensor], List[paddle.Tensor]],
      /,
      *,
      new_axis: int = 0,
      axis: int = 0,
      out: Optional[paddle.Tensor] = None,
  ) -> paddle.Tensor:
      with ivy.ArrayMode(False):
          if new_axis == 0:
              return ivy.concat(input_sequence, axis=axis)
          elif new_axis == 1:
              return ivy.stack(input_sequence, axis=axis)
  
imports: from collections import namedtuple
  from typing import Iterable, Optional, Union, Sequence, Tuple, NamedTuple, List, Any, Literal, Callable
  from numbers import Number
  from ..None import backend_version
  from ivy.func_wrapper import with_supported_device_and_dtypes, with_unsupported_device_and_dtypes, with_supported_dtypes, with_unsupported_dtypes
  import paddle
  import ivy
  import ivy.functional.backends.paddle
  from ivy.functional.ivy.experimental.manipulation import _check_paddle_pad, _to_paddle_padding
label_desc: Use image node_id 22 for calling a global function with example usage: concat_from_sequence() and returns: ivy, ivy