Skip to content

Support for instantiating tensors from num_complex::Complex values.#960

Open
metasim wants to merge 3 commits intoLaurentMazare:mainfrom
datashapesai:feature/complex
Open

Support for instantiating tensors from num_complex::Complex values.#960
metasim wants to merge 3 commits intoLaurentMazare:mainfrom
datashapesai:feature/complex

Conversation

@metasim
Copy link

@metasim metasim commented Jun 3, 2025

Note: I implemented this under a complex feature flag assuming this should be opt-in. However, ndarray already has a fixed dependency on num-complex so there may be little benefit to doing so.

Closes #959.

@metasim
Copy link
Author

metasim commented Aug 25, 2025

@LaurentMazare Any interest in this? I've been using it for almost 3 months without any problems. Would love to see it merged....

@Dherse
Copy link

Dherse commented Feb 2, 2026

Any update missing from GH? This would be really useful :)

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 this pull request may close these issues.

How to create a Tensor of Complex<f32>?

2 participants