dconv2¶
- dnois.fourier.dconv2(f1: Tensor, f2: Tensor, dims: tuple[int, int] = (-2, -1), out: Literal['full', 'same', 'valid'] = 'full', padding: int | tuple[int, int] | str = 'linear', real: bool = None) Tensor ¶
2D version of
dconv()
.- Parameters:
- Returns:
Convolution between
f1
andf2
. Complex if eitherf1
orf2
is complex orreal=False
, real-valued otherwise.- Return type:
Tensor