element tensor containing a one.
Parameters:
      * window_length (int) -- length of the window.
  * **periodic** (*bool**, **optional*) -- If True, returns a
    periodic window suitable for use in spectral analysis. If
    False, returns a symmetric window suitable for use in filter
    design.

  * **beta** (*float**, **optional*) -- shape parameter for the
    window.

Keyword Arguments:
      * dtype ("torch.dtype", optional) -- the desired data type
        of returned tensor. Default: if "None", uses a global default
        (see "torch.set_default_tensor_type()").
  * **layout** ("torch.layout", optional) -- the desired layout of
    returned window tensor. Only "torch.strided" (dense layout) is
    supported.

  * **device** ("torch.device", optional) -- the desired device of
    returned tensor. Default: if "None", uses the current device
    for the default tensor type (see
