j***@gmail.com
2016-04-09 18:29:05 UTC
Hello!
I have a function that takes an n-by-n 2d array and returns a 1d array with
a fixed length 6.
Is it possible to guvectorize this?
Naively, I tried the following decorator:
@_numba.guvectorize(["void(float32[:,:], float32[:])"], "(n,n)->(6)",
nopython=True)
However, when importing the module, I get:
ValueError: bad token in signature "6"
Thanks for any help!
Joerg
I have a function that takes an n-by-n 2d array and returns a 1d array with
a fixed length 6.
Is it possible to guvectorize this?
Naively, I tried the following decorator:
@_numba.guvectorize(["void(float32[:,:], float32[:])"], "(n,n)->(6)",
nopython=True)
However, when importing the module, I get:
ValueError: bad token in signature "6"
Thanks for any help!
Joerg
--
You received this message because you are subscribed to the Google Groups "Numba Public Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to numba-users+***@continuum.io.
To post to this group, send email to numba-***@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/numba-users/765f4792-bf71-4339-bff1-65af9765f5db%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
You received this message because you are subscribed to the Google Groups "Numba Public Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to numba-users+***@continuum.io.
To post to this group, send email to numba-***@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/numba-users/765f4792-bf71-4339-bff1-65af9765f5db%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.