05 2019 档案
摘要:将tensorflow C++ 版本更新为何训练版本一致即可
阅读全文
摘要:int bw = blockDim.x; int bh = blockDim.y; int tx = threadIdx.x%bw; int ty = threadIdx.y%bh; __shared__ uchar2 ys0[16][16]; __shared__ uchar2 ys1[16][16]; __shared__ ucha...
阅读全文
摘要:1. matMul 2. eval 函数 作用: 1.eval(): 将字符串string对象转化为有效的表达式参与求值运算返回计算结果2.eval()也是启动计算的一种方式。基于Tensorflow的基本原理,首先需要定义图,然后计算图,其中计算图的函数常见的有run()函数,如sess.run(
阅读全文
摘要:#include "cuda_runtime.h" #include "device_launch_parameters.h" #include "device_functions.h" #include #include #include cudaError_t addWithCuda(int *c, const int *a, const int *b, unsigned ...
阅读全文