上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 30 下一页
摘要: 写了根据闫石老师的数字电路基础写了一个一个半加器半加器代码为module half_adder(A,B,S,CO); input A,B; output S,CO; assign S = A^B; assign CO = A&B;endmodule测试代码... 阅读全文
posted @ 2017-05-03 18:36 开往春天的拖拉机 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 本博客将看C++并行编程的例子1. 线程进程原理线程是轻量级的进程,一个进程可以拥有多个线程。编译多线程程序加入 g++ -lphread2. openmp库加速2.1 openmp库加速配置及hello,world事实上有个openmp库,可以实现单台cpu的加速Windows下使用vsConf... 阅读全文
posted @ 2017-05-02 17:31 开往春天的拖拉机 阅读(527) 评论(0) 推荐(0) 编辑
摘要: 本博客将看C++并行编程的例子1. 线程进程原理线程是轻量级的进程,一个进程可以拥有多个线程。编译多线程程序加入 g++ -lphread2. openmp库加速2.1 openmp库加速配置及hello,world事实上有个openmp库,可以实现单台cpu的加速... 阅读全文
posted @ 2017-05-02 17:31 开往春天的拖拉机 阅读(169) 评论(0) 推荐(0) 编辑
摘要: [1] modelsim下载 阅读全文
posted @ 2017-04-27 11:26 开往春天的拖拉机 阅读(77) 评论(0) 推荐(0) 编辑
摘要: [1] modelsim下载 阅读全文
posted @ 2017-04-27 11:26 开往春天的拖拉机 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 有时候需要对blas库函数进行重写我写的一个函数为#include using namespace std;int main() { const int M = 4;//A的行数,C的行数 const int N = 2;//B的列数,C的列数 const int K = 3;//... 阅读全文
posted @ 2017-04-25 17:37 开往春天的拖拉机 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 有时候需要对blas库函数进行重写我写的一个函数为#include using namespace std;int main() { const int M = 4;//A的行数,C的行数 const int N = 2;//B的列数,C的列数 co... 阅读全文
posted @ 2017-04-25 17:37 开往春天的拖拉机 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 条件编译是一种很好的编译技巧。使用条件编译,让有的部分相当于没有条件编译的例子如下。#include #include using namespace std;#define ISint main() {//形式2 将#if 1 变成0 看效果#if 1 int k = 0;#else string... 阅读全文
posted @ 2017-04-25 15:09 开往春天的拖拉机 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 条件编译是一种很好的编译技巧。使用条件编译,让有的部分相当于没有条件编译的例子如下。#include #include using namespace std;#define ISint main() {//形式2 将#if 1 变成0 看效果#if 1 int k ... 阅读全文
posted @ 2017-04-25 15:09 开往春天的拖拉机 阅读(126) 评论(0) 推荐(0) 编辑
摘要: caffe自己有写查看模型的内容mxnet自己也写了一个import mxnet as mximport pdbdef load_checkpoint(prefix, epoch): """ Load model checkpoint from file. :param prefi... 阅读全文
posted @ 2017-04-24 13:20 开往春天的拖拉机 阅读(125) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 30 下一页