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

Bug in reduce operations for views #111

Closed
chewxy opened this issue Mar 28, 2021 · 0 comments · Fixed by #112
Closed

Bug in reduce operations for views #111

chewxy opened this issue Mar 28, 2021 · 0 comments · Fixed by #112

Comments

@chewxy
Copy link
Member

chewxy commented Mar 28, 2021

When I was doing this livestream, I caught a bug:

T := tensor.New(tensor.WithShape(4,4), tensor.Range(tensor.Int, 0,16))
S, _ := T.Slice(S(1, 4), S(1,4))=
s, _ := Sum(S) // wrong value
```
chewxy added a commit that referenced this issue Mar 28, 2021
@chewxy chewxy mentioned this issue Mar 28, 2021
chewxy added a commit that referenced this issue Mar 28, 2021
* Fixed #90

* Fixed #111

* Boyscout commit to fix python/numpy testing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant