mixed_fftconv3d_fp32_bhl#

mixed_fftconv3d_fp32_bhl(
x,
kernel,
periodic,
shortcut=None,
use_phase_shift=True,
)#

3D mixed-BC FFT convolution (BHL layout).

Each of the three spatial axes independently uses periodic (circular) or non-periodic (zero-padded “same”) boundary handling.

Parameters:
  • x (Tensor) – Input tensor of shape [B, H, X, Y, Z] (any dtype, cast to fp32).

  • kernel (Tensor) – Kernel tensor of shape [1|B, H, K_x, K_y, K_z].

  • periodic (Sequence[bool]) – Length-3 sequence (periodic_x, periodic_y, periodic_z).

  • shortcut (Tensor | None) – Optional per-channel scale [H].

  • use_phase_shift (bool) – See mixed_fftconv1d_fp32_bhl().

Returns:

Tensor of shape [B, H, X, Y, Z] in the original dtype of x.

Return type:

Tensor