Answer the question
In order to leave comments, you need to log in
How to divide all values of an array by a number (numpy)?
There is a huge numpy array (image), and I need to divide each pixel value for each channel by 255. Running through the array takes too much time and space. Is there any simple (optimized) way to do this?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question