Following is the code that I wrote:
import sensor, image, time
from ulab import numpy as np
b = np.array(range(24), dtype=np.uint8).reshape((3,2,4))
The error says that the maximum allowed dimensions are four and I am just using 3. Why is it giving me an error?
Pardon me for such noob-like questions
It might be possible that the following issue has something to do with the solution: [FEATURE REQUEST] Support for 3- and 4-D arrays · Issue #409 · v923z/micropython-ulab · GitHub
Yes, we don’t support the 4D arrays right now.
3 dimensions are also not supported i guess
I answered this on github.