Fastest way to perform same operation on every element of array

后端 未结 0 737
陌清茗
陌清茗 2021-01-23 01:42

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 = [         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题