当前位置:网站首页>numpy总结
numpy总结
2022-07-23 05:42:00 【AutoGalaxy】
一. 矩阵乘法
1. np.matmul(a,b)
维数不对应会报error
二. 矩阵转置
参考网址:
[Python3]Numpy数组转置的三种方法T、transpose、swapaxes_Asher117的博客-CSDN博客_numpy转置
三种方法:
(1)T属性
(2) transpose()方法(用到的时候再来总结)
(3)swapaxes()方法()用到的时候再来总结
三. 矩阵增加维度
参考网址:
边栏推荐
猜你喜欢
随机推荐
Affichage itératif des fichiers.h5, opérations de données h5py
静态链表
Space shared by two stacks
11、多线程
Understanding of the decoder in the transformer in NLP
How to cast?
两个栈共用空间
Divide and conquer and recursion (exercise)
修改mysql的root密码
Websocket long connection
继承与多态
Image fuzzy processing batch production fuzzy data set
Definition and application of method
10. I/o input / output stream
Review of knowledge points
规范数据库设计
Data warehouse 4.0 notes - user behavior data collection IV
第一阶段复习
Stage 1 Review
Binary tree









