code: def expand(
      x: paddle.Tensor,
      shape: Union[List[int], List[Tuple]],
      /,
      *,
      copy: Optional[bool] = None,
      out: Optional[paddle.Tensor] = None,
  ) -> paddle.Tensor:
      return paddle_backend.broadcast_to(x, shape)
  
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 21 for calling a global function with example usage: expand() and returns: paddle_backend