pymc-devs / pymc-devs/pytensor
Output shapes for conv do not pass-by static dimensions
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 644
- Forks
- 208
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 16
Description
In the implementation
static dimensions for image.shape[0] and kernel.shape[0] are not propagated to output
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in pytensor/tensor/conv/abstract_conv.py at lines 2488-2491 and inspect how the convolution output shape is derived. Confirm the expected behavior for image.shape[0] and kernel.shape[0], then verify that those static dimensions are preserved in the output shape.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100