We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello.
Now I'm writing the code to implement a mvm operation on fixed-point with numpy and fxpmath.
However, when I applied the numpy.reshape at the array made by fxpmath, the fract bits was remaind but the word bits changed.
This is my code.
a = np.array([[0.762, 0.525], [0.345, 0.875]], dtype=complex) x = Fxp(a, signed=True, n_word=5, n_frac=3) # fxp-s5/3-complex y = np.reshape(x, (1, 4)) # fxp-s4/3-complex
In my opinion, this is because that the numpy cannot fully recognize the sign bit.
Please, let me know how I can solve this issue.
Thanks.
The text was updated successfully, but these errors were encountered:
Fix numpy.reshape function handling. This function was returning op…
numpy.reshape
542bdd6
…timal size instead of same by default (issue #77).
solved in v0.4.9
Sorry, something went wrong.
No branches or pull requests
Hello.
Now I'm writing the code to implement a mvm operation on fixed-point with numpy and fxpmath.
However, when I applied the numpy.reshape at the array made by fxpmath, the fract bits was remaind but the word bits changed.
This is my code.
In my opinion, this is because that the numpy cannot fully recognize the sign bit.
Please, let me know how I can solve this issue.
Thanks.
The text was updated successfully, but these errors were encountered: