关于numpy中eye和identity的区别详解 两个函数的原型为:np.identity(n,dtype=None)np.eye(N,M=None,k=0,dtype=<type‘float'>);np.identity只能 eye