3 ms·
I like the part where the author calls numpy.random.uniform(low=0.0, high=1.0, size=None), explicitly passing size=None. They have the parameter that they want
by nightcracker 8y ago
I like the part where the author calls numpy.random.uniform(low=0.0, high=1.0, size=None), explicitly passing size=None.
They have the parameter that they want to immediately generate the entire image in one shot, and proceed to ignore it to generate the image pixel by pixel.