Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
张一极
Edge Computing Engine
提交
99cab372
Edge Computing Engine
项目概览
张一极
/
Edge Computing Engine
通知
61
Star
8
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Edge Computing Engine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
99cab372
编写于
1月 28, 2020
作者:
sahduashufa
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
序列模型api整理
上级
f03acbc3
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
14 addition
and
14 deletion
+14
-14
.main.cpp.swp
.main.cpp.swp
+0
-0
README.md
README.md
+14
-2
grad_edge/.matrix_grad.h.swp
grad_edge/.matrix_grad.h.swp
+0
-0
image-20200128154352842.png
image-20200128154352842.png
+0
-0
ma
ma
+0
-0
main.cpp
main.cpp
+0
-12
未找到文件。
.main.cpp.swp
0 → 100644
浏览文件 @
99cab372
文件已添加
README.md
浏览文件 @
99cab372
<div
align=
center
><img
src=
"./picture/01.svg"
/></div>
# Edge-Engine
## Edge : 一个开源的科学计算引擎
...
...
@@ -62,6 +61,20 @@ make install
➜ edge-computing-engine git:(master) ✗ ./main
```
序贯模型api使用方法:
edge_network(int input, int num_neuron)
作为序列模型api
edge_network作为一个类型存在,位于matrix_grad.h中结构体类型的数据
定义了前向传播函数,前向传播无激活版,反向传播,末层反向传播,四大最常用的函数主体.
完整的序列模型:
![image-20200128154352842](/Users/zhangyiji/Documents/code/cpp_demo/my_os/Edge-Computing-Engine/image-20200128154352842.png)
## 新的demo程序实现5层全连接层,可自定义神经元和激活函数,损失函数
全连接层使用方法:
...
...
@@ -500,7 +513,6 @@ Something :
<div
align =
center
><img
src =
'./picture/星月.svg'
></div>
个人小站:
[
极度空间
](
http://likedge.top/
)
作者邮箱:zk@likedge.top | edge@ibooker.org.cn
...
...
grad_edge/.matrix_grad.h.swp
浏览文件 @
99cab372
无法预览此类型文件
image-20200128154352842.png
0 → 100644
浏览文件 @
99cab372
169.8 KB
ma
浏览文件 @
99cab372
无法预览此类型文件
main.cpp
浏览文件 @
99cab372
...
...
@@ -32,25 +32,13 @@ int main()
{
cout
<<
"------------autodiff for neraul network-----------"
<<
endl
;
Matrix
data_mine
=
CreateMatrix
(
2
,
1
);
change_va
(
data_mine
,
0
,
0
,
0.55
);
change_va
(
data_mine
,
1
,
0
,
0.2
);
cout
<<
"data mine"
<<
endl
;
cout_mat
(
data_mine
);
cout
<<
"data mine"
<<
endl
;
Matrix
label
=
CreateRandMat
(
2
,
1
);
change_va
(
label
,
0
,
0
,
0.4
);
change_va
(
label
,
1
,
0
,
0.8
);
Matrix
weight1
=
CreateRandMat
(
2
,
2
);
change_va
(
weight1
,
0
,
0
,
0.1
);
change_va
(
weight1
,
0
,
1
,
0.2
);
change_va
(
weight1
,
1
,
0
,
0.2
);
change_va
(
weight1
,
1
,
1
,
0.4
);
Matrix
bais1
=
ones
(
2
,
1
);
Matrix
weight2
=
CreateRandMat
(
2
,
2
);
change_va
(
weight2
,
0
,
0
,
0.5
);
change_va
(
weight2
,
1
,
0
,
0.6
);
change_va
(
weight2
,
0
,
1
,
0.7
);
change_va
(
weight2
,
1
,
1
,
0.8
);
Matrix
bais2
=
ones
(
2
,
1
);
for
(
int
epoch
=
0
;
epoch
<
1
;
epoch
++
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录