TensorPlay
latest (dev)
Copy
View Markdown

Latest development documentation · Updated 2026-10-15

tensorplay.fft._frequency.fftfreq

tensorplay.fft._frequency.fftfreq(n, d=1.0, *, out=None, dtype=None, layout=None, device=None, requires_grad=False)[source]

DFT sample frequencies (cycles/unit): [0, 1, ..., (n-1)//2, -(n//2), ..., -1] / (n*d).

Parameters:
  • n (int) – window length

  • d (float, optional) – sample spacing. Default: 1.0

  • device (dtype / layout /) – of the result. Default: the default floating dtype, on the CPU

On this page

Ask DeepWiki