code: def blackman_window(
      size: int,
      /,
      *,
      periodic: Optional[bool] = True,
      dtype: Optional[paddle.dtype] = None,
      out: Optional[paddle.Tensor] = None,
  ) -> paddle.Tensor:
      if size < 2:
          return paddle.ones([size], dtype=dtype)
      if periodic:
          count = paddle.arange(size) / size
      else:
          count = paddle.linspace(start=0, stop=size, num=size)
      return (
          (0.42 - 0.5 * paddle.cos(2 * math.pi * count))
          + (0.08 * paddle.cos(2 * math.pi * 2 * count))
      ).cast(dtype)
  
file_path: ivy/ivy/functional/backends/paddle/experimental/creation.py
imports: from typing import Optional, Tuple, Union
  import math
  import paddle
  import ivy.functional.backends.paddle
  from paddle.device import core
  from ivy.func_wrapper import with_supported_dtypes, with_unsupported_device_and_dtypes
  import ivy
  from ..None import backend_version
label_desc: Use image node_id 7 for calling a global function with example usage: blackman_window() and returns: unknown, paddle