numpy中生成随机矩阵并打印出矩阵的shape

from numpy import *

c=zeros((4,5))
print c.shape

 

print numpy.random.random((2,3))
原文地址:https://www.cnblogs.com/anyview/p/5090057.html