carrascomj / carrascomj/shapels

Reduce range size shape outputs on abstract/concrete mixtures

Open Beginner friendly
#33 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
15
Forks
0
PR merge metrics
No merged PRs in 30d

Description

### Example

([Playground link](https://carrascomj.github.io/shapelsbook/playground#eNrLzC3ILypRKMkvSs7g4spWsFUwNOCqAFJgEb3EosS89FSNbE0uABZ4DLo))

```python
import torch

idx = torch.arange(k)
```

Hovering `idx` yields a shape `[k-0/1]`, which can be reduced to `[k]`, as done already for (trans)convolutions and pooling (and it's missing parentheses, anyways.)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how the shape for torch.arange is produced for abstract/concrete mixtures, then compare it with the existing trans convolution and pooling reductions. Done means the hover output for idx shows [k] instead of [k-0/1] and does not include the noted missing parentheses.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch, rust
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
66/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.