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

Added: complex, real, imag, angle #1011

Merged
merged 3 commits into from Apr 1, 2023
Merged

Conversation

BalashovK
Copy link
Contributor

I have added basic missing functionality for complex numbers. Unfortunately, only complex64 is fully functional, complex128 needs more work which I do not know how to do. Please merge or let me now what needs to be adjusted.

@@ -0,0 +1,26 @@
/*****************************************************************************
Copyright 2018 The TensorFlow.NET Authors. All Rights Reserved.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it better to change to 2023 {Your Name}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have moved "complex" to tf.math.cs. I think, it will be more in line with the other code structure. The reason why I created it as a separate file was - I uses "exp" as an example. I would suggest moving "exp" inside of tf.math.cs too.

Copy link
Contributor Author

@BalashovK BalashovK Mar 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please let me know if anything else needs to be changed before the pull request will be pulled. I have a plan to work on adding tf.signal fft support, but I need complex numbers support to be in the repository first.

@Oceania2018 Oceania2018 merged commit 79a9363 into SciSharp:master Apr 1, 2023
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.

None yet

2 participants