You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new rewrite of convolve1d in #1318 and discussed in #1319 introduced a bug for mode="same". The documentation says:
A string indicating the size of the output:
- 'full': The output is the full discrete linear convolution of the inputs, with shape (..., N+M-1,).
- 'valid': The output consists only of elements that do not rely on zero-padding, with shape (..., max(N, M) - min(N, M) + 1,).
- 'same': The output is the same size as in1, centered with respect to the 'full' output.
Here it is the first axis of in2 that is compared for padding, rather than the intended last axis.
Describe the issue:
The new rewrite of
convolve1d
in #1318 and discussed in #1319 introduced a bug formode="same"
. The documentation says:Here it is the first axis of
in2
that is compared for padding, rather than the intended last axis.pytensor/pytensor/tensor/signal/conv.py
Lines 119 to 130 in 3af923b
Reproducable code example:
Error message:
PyTensor version information:
2.30.1
Context for the issue:
No response
The text was updated successfully, but these errors were encountered: