numpy
阿尔发go
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
python之loss
文章目录介绍softmaxsoftmaxloss介绍softmax家族总结softmaximport numpy as npdef softmax(X,SUBMAX=False): """dtype: float X shape: batch * -1 * classes ndarray or : -1 * classes nd...原创 2019-12-26 15:14:12 · 1892 阅读 · 0 评论 -
numpy常用函数
1.ndarray数据交换指定的两个维度比如:矩阵A=1x3x2 => A=3x1x2A=np.swapaxes(A,0,1)参考:https://docs.scipy.org/doc/numpy-1.13.0/reference/generated/numpy.swapaxes.html原创 2018-10-26 10:24:30 · 272 阅读 · 0 评论
分享