Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli: add support for windowing/striding/index sets to cli parser #413

Open
rohany opened this issue Feb 24, 2021 · 0 comments · May be fixed by #419
Open

cli: add support for windowing/striding/index sets to cli parser #413

rohany opened this issue Feb 24, 2021 · 0 comments · May be fixed by #419

Comments

@rohany
Copy link
Contributor

rohany commented Feb 24, 2021

^

rohany added a commit to rohany/taco that referenced this issue Mar 1, 2021
Fixes tensor-compiler#413.

This commit adds support for the command line tool to accept index
expressions containing windowing, striding and index sets. An example
of each of these features is added to the help message of taco:
```
taco "a(i) = b(i(1, 5))" -d=a:4          # Slice b[1:4]
taco "a(i) = b(i(1, 5, 2))" -d=a:2       # Slice b[1:4:2]
taco "a(i) = b(i({1, 3, 5, 7}))" -d=a:4  # Slice b[[1, 3, 5, 7]]
```
Infinoid pushed a commit to Infinoid/taco that referenced this issue Mar 23, 2021
Fixes tensor-compiler#413.

This commit adds support for the command line tool to accept index
expressions containing windowing, striding and index sets. An example
of each of these features is added to the help message of taco:
```
taco "a(i) = b(i(1, 5))" -d=a:4          # Slice b[1:4]
taco "a(i) = b(i(1, 5, 2))" -d=a:2       # Slice b[1:4:2]
taco "a(i) = b(i({1, 3, 5, 7}))" -d=a:4  # Slice b[[1, 3, 5, 7]]
```
Infinoid pushed a commit to Infinoid/taco that referenced this issue Mar 23, 2021
Fixes tensor-compiler#413.

This commit adds support for the command line tool to accept index
expressions containing windowing, striding and index sets. An example
of each of these features is added to the help message of taco:
```
taco "a(i) = b(i(1, 5))" -d=a:4          # Slice b[1:4]
taco "a(i) = b(i(1, 5, 2))" -d=a:2       # Slice b[1:4:2]
taco "a(i) = b(i({1, 3, 5, 7}))" -d=a:4  # Slice b[[1, 3, 5, 7]]
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant