mixed_fftconv3d_fp32_bhl_chunked#
- mixed_fftconv3d_fp32_bhl_chunked(
- x,
- kernel,
- periodic,
- shortcut=None,
- use_phase_shift=True,
- chunk_size=None,
Memory-efficient 3D mixed-BC FFT conv (BHL) via channel chunking.
Produces the same output as
mixed_fftconv3d_fp32_bhl()but processes at mostchunk_sizechannels at a time to limit peak memory.- 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().chunk_size (int | None) – Channels per chunk. Defaults to 128.
- Returns:
Tensor of shape
[B, H, X, Y, Z]in the original dtype ofx.- Return type: