I have an array of dimensions 100x100x1000. For every pixel of the array, I want to perform the following operation:
A = np.random.rand(100, 100, 1000) values = [