- 博客(4)
- 收藏
- 关注
原创 c++求最大子数组
# include<iostream> #include <stdio.h> #include <limits.h> using namespace std; int find_max_crossong_subarray(int* A, const int low, const int mid, const int high); int main() { ...
2019-07-09 16:10:50
555
原创 c++用递归实现排列组合
#include <iostream> using namespace std; void permmutation(char* p, const int a, const int b) { if (a == b) { for (int j = 0; j <= b; j++) cout << p[j]; ...
2019-07-08 19:58:52
996
原创 tensorflow学习小记2
#一个完整的神经网络实例 在一个模拟数据及上训练神经网络来训练二分类问题 import tensorflow as tf from numpy.random import RandomState # 虽然报错并不影响使用,这在random中是私有 batch_size = 8 w1 = tf.Variable(tf.random_normal((2, 3), stddev=1, seed=1)...
2018-12-11 10:33:05
174
原创 tensorflow学习小记
TensorFlow入门杂记 TensorFlow入门杂记 学习实战Google深度学习框架笔记及整理误区 ****1张量 标量就是0阶张量,第一阶张量就是一维数组即向量;同理n阶张亮可以理解为n维数组。在tf中张量并不是直接数组的形式,而是对计算结果的引用,保存的是数字的计算过程,一个计算结果主要保存的是三个属性:名字,维度,类型。张量的作用:1.对中间计算结果的引用。2.计算结果完成后用来计算...
2018-12-11 10:28:49
189
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅