随笔分类 -  numpy

numpy reshape -1
摘要:>>> import numpy as np >>> x = np.arange(12) >>> x array([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]) >>> x.reshape(2,3,2,1) array([[[[ 0], [ 1]], [[ 2], [ 3]], ... 阅读全文

posted @ 2018-03-21 13:55 cdekelon 阅读(208) 评论(0) 推荐(0) 编辑

numpy official book , broadcasting
摘要:https://docs.scipy.org/doc/numpy-1.10.1/reference/generated/numpy.exp.html https://docs.scipy.org/doc/numpy/user/basics.broadcasting.html 阅读全文

posted @ 2018-03-21 10:50 cdekelon 阅读(80) 评论(0) 推荐(0) 编辑

np.stack
摘要:http://blog.csdn.net/csdn15698845876/article/details/73380803 阅读全文

posted @ 2018-03-07 16:24 cdekelon 阅读(177) 评论(0) 推荐(0) 编辑

numpy guide
摘要:https://www.cnblogs.com/xinchrome/p/5043480.html https://wizardforcel.gitbooks.io/ts-numpy-tut/content/15.html 一、数组方法 创建数组:arange()创建一维数组;array()创建一维或 阅读全文

posted @ 2018-03-07 15:59 cdekelon 阅读(143) 评论(0) 推荐(0) 编辑

导航

点击右上角即可分享
微信分享提示