TensorFlow
来源:互联网 发布:php环境变量怎么配置 编辑:程序博客网 时间:2024/06/05 22:55
TensorFlow - 矩阵
flyfish
矩阵
单位矩阵(identity matrix, 有时候不确切的叫unit matrix)
矩阵加法(Matrix addition)
矩阵乘法(Matrix multiplication)
1 Row vector 和 column vector相乘
2 Square matrix 和 column vector 相乘
BA没有定义
3 square matrix和square matrix相乘
matrix的复数是metrices
代码
VC++下编译
库Eigen
typedef Matrix< double , 2 , 2 > Matrix2dMatrix<double, 2, 2> 是定义一个2×2的矩阵,矩阵元素以double类型存储
配置
#include "stdafx.h"#include <iostream>#include "Eigen\Dense"int main(){ Eigen::Matrix2d a; a << 1, 2, 3, 4; Eigen::MatrixXd b(2, 2); b << 5, 6, 7, 8; std::cout << "a + b =\n" << a + b << "\n"<< std::endl; std::cout << "a * b =\n" << a * b << std::endl; system("pause"); return 0;}
输出
- tensorflow
- TensorFlow
- TensorFlow
- tensorflow
- tensorflow
- tensorflow
- Tensorflow
- Tensorflow
- tensorFlow
- tensorflow
- Tensorflow
- TensorFlow
- tensorflow
- Tensorflow
- TensorFlow
- TensorFlow
- tensorflow
- TensorFlow
- eclipse生成API文档
- 模拟登陆知乎
- 机器学习常见算法个人总结(面试用)
- NullPointerException
- SDAutoLayout方法大全,cell自适应
- TensorFlow
- nd the $PHP_AUTOCONF environment variable. Then, rerun this script.
- uiautomatorviewer出现Unable to connect to adb
- .NET 数据库存储过程执行快,程序调用存储过程执行慢
- Android中别具一格的动画效果
- 排序算法-之选择排序(直接选择排序,堆排序)
- 毫秒服务引擎msec
- [漏洞] CVE-2017-1000364/CVE-2017-1000365/CVE-2017-1000366
- nginx location语法规则 ReWrite 语法