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

set_item function #19

Open
sivianil opened this issue Sep 12, 2024 · 0 comments
Open

set_item function #19

sivianil opened this issue Sep 12, 2024 · 0 comments

Comments

@sivianil
Copy link

It looks, tensor1d only accepts single value and converts into float (from tensor1d.c) .
I tried to set the value at index -5 -> 100. But it didn't reflect in the original tensor defined as t
Screenshot 2024-09-12 at 06 51 21

Sometimes, it reflects in the tensor. Why is it happening like this?
Screenshot 2024-09-12 at 06 54 01

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

No branches or pull requests

1 participant