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

Overload assignment of Fortran array to a tensor #243

Closed
jwallwork23 opened this issue Jan 15, 2025 · 1 comment
Closed

Overload assignment of Fortran array to a tensor #243

jwallwork23 opened this issue Jan 15, 2025 · 1 comment
Assignees
Labels
autograd Tasks towards the online training / automatic differentiation feature enhancement New feature or request

Comments

@jwallwork23
Copy link
Contributor

It'd be convenient to overload array = tensor to apply torch_tensor_to_array.

Related to #242, this would mean that if the user wanted to interact with a quantity that had become a tensor because of some overloaded operators, they could use it as if it were a Fortran array.

@jwallwork23 jwallwork23 added enhancement New feature or request autograd Tasks towards the online training / automatic differentiation feature labels Jan 15, 2025
@jwallwork23 jwallwork23 self-assigned this Jan 15, 2025
@jwallwork23
Copy link
Contributor Author

We discussed in today's meeting that we should be cautious with doing this in case it leads to confusion.

@jwallwork23 jwallwork23 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autograd Tasks towards the online training / automatic differentiation feature enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant