上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 30 下一页
摘要: 学堂在线中郑莉老师对虚函数进行了详细的讲解具体的代码如下#include using namespace std;class Base1 {public: virtual void display() const; //虚函数};void Base1::dis... 阅读全文
posted @ 2017-04-13 11:21 开往春天的拖拉机 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 博客[1]中指出了运用命令计算运行时间的指令示例如下./build/tools/caffe time --model=examples/mnist/mytest/execise1_train_test.prototxt -iterations 100 -gpu 0train_test.prototx... 阅读全文
posted @ 2017-04-04 14:38 开往春天的拖拉机 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 博客[1]中指出了运用命令计算运行时间的指令示例如下./build/tools/caffe time --model=examples/mnist/mytest/execise1_train_test.prototxt -iterations 100 -gpu 0tr... 阅读全文
posted @ 2017-04-04 14:38 开往春天的拖拉机 阅读(92) 评论(0) 推荐(0) 编辑
摘要: #include #include #include "caffe/blob.hpp"#include "caffe/common.hpp"#include "caffe/filler.hpp"#include "caffe/layer.hpp"#include "caffe/layers/lstm... 阅读全文
posted @ 2017-03-30 16:44 开往春天的拖拉机 阅读(125) 评论(0) 推荐(0) 编辑
摘要: #include #include #include "caffe/blob.hpp"#include "caffe/common.hpp"#include "caffe/filler.hpp"#include "caffe/layer.hpp"#include "c... 阅读全文
posted @ 2017-03-30 16:44 开往春天的拖拉机 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 源码的解析都写到文件里面如下#include #include #include #include "caffe/layer.hpp"#include "caffe/layers/lstm_layer.hpp"namespace caffe {//sigmoid函数 1/(1+e^(-x))tem... 阅读全文
posted @ 2017-03-30 14:24 开往春天的拖拉机 阅读(423) 评论(0) 推荐(0) 编辑
摘要: 源码的解析都写到文件里面如下#include #include #include #include "caffe/layer.hpp"#include "caffe/layers/lstm_layer.hpp"namespace caffe {//sigmoid函数 ... 阅读全文
posted @ 2017-03-30 14:24 开往春天的拖拉机 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 底层的程序员一定会遇到二进制的问题#include #include #include using namespace std;//整数转换为string类型string int2str(int n){ stringstream ss; string s; ss>s; return s;}//将十进... 阅读全文
posted @ 2017-03-28 17:10 开往春天的拖拉机 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 底层的程序员一定会遇到二进制的问题#include #include #include using namespace std;//整数转换为string类型string int2str(int n){ stringstream ss; string s; ss>s;... 阅读全文
posted @ 2017-03-28 17:10 开往春天的拖拉机 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 草稿笔记为:通过kd树的部分代码为#include #include using namespace std;void select_sort(vector vec){ int n = vec.size(); for(int j = 0;j vec){ int n = vec.size(); sel... 阅读全文
posted @ 2017-03-28 16:12 开往春天的拖拉机 阅读(91) 评论(0) 推荐(0) 编辑
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 30 下一页