code: def modf(
      x: paddle.Tensor,
      /,
      *,
      out: Optional[Tuple[paddle.Tensor, paddle.Tensor]] = None,
  ) -> Tuple[paddle.Tensor, paddle.Tensor]:
      with ivy.ArrayMode(False):
          integer_part = paddle.floor(x)
          fractional_part = x - integer_part
          return fractional_part, integer_part
  
imports: import operator
  from typing import Optional, Union, Tuple, List, Sequence
  from numbers import Number
  import paddle
  from ivy.utils.exceptions import IvyNotImplementedException
  from ivy.func_wrapper import with_supported_dtypes, with_unsupported_device_and_dtypes, with_unsupported_dtypes
  import ivy.functional.backends.paddle
  import ivy
  from ivy import promote_types_of_inputs
  from ivy.functional.backends.paddle.elementwise import _elementwise_helper
  from ..None import backend_version
label_desc: Use image node_id 26 for calling a global function with example usage: modf() and returns: fractional_part,  integer_part