Single function call handling 1d and 2d numpy arrays and returning sum #4985
bigfatwhale
started this conversation in
General
Replies: 1 comment
-
Can you be more specific on the errors you're getting? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm experimenting with python calling into rust and doing some manipulation before returning the values. To illustrate what I'm trying to achieve let's use the following fragment trying to calculate sum on the input 1d or 2d numpy array,
However I'm not able to get the code to compile correctly.
Anyone able to advise how to go about this?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions