3 Star 20 Fork 7

WatterCutter / LenetDeploy

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
cnnoperation.h 1.10 KB
一键复制 编辑 原始数据 按行查看 历史
WatterCutter 提交于 2022-02-24 02:46 . update cnnoperation.h.
#ifndef __CNNOPERATION
#define __CNNOPERATION
#include "matoperation.h"
//卷积处理
void cnnOperationConvolution(float*** inputmat,imageSize inputSize,
float*** outputmat,imageSize outputSize,float**** kernel,imageSize kernelSize,
int paddding,int step);
//池化处理
void cnnOperationPooling(float*** inputmat, imageSize inputSize,
float*** outputmat, imageSize outputSize,
imageSize kernelSize, int padding,int step);
//激活函数
void cnnOperationActivation(float*** inputmat, imageSize inputSize, float bias);
//扁平化
void cnnOperationFlatten(float*** input,imageSize inputsize, float*** output,
imageSize outputsize);
//全连接处理 一维化然后进行全连接运算
void cnnOperationLinear(float*** inputmat, imageSize inputSize,
float*** outputmat, imageSize outputSize,float** weight,float* bias);
static float matAndKernelConvolution(float*** mat, imageSize matSize, float*** kernel,
imageSize kernelSize, int nowrow, int nowcol);
static float matAndKernelMaxPooling(float*** mat, imageSize matSize,
imageSize kernelSize, int nowrow, int nowcol);
#endif
C
1
https://gitee.com/wattercutter/lenet-deploy.git
git@gitee.com:wattercutter/lenet-deploy.git
wattercutter
lenet-deploy
LenetDeploy
master

搜索帮助