Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
张一极
Edge Computing Engine
提交
1bb59848
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 搜索 >>
提交
1bb59848
编写于
11月 20, 2019
作者:
sahduashufa
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
new_readme
上级
9c05cea6
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
23 addition
and
26 deletion
+23
-26
.main.cpp.swp
.main.cpp.swp
+0
-0
README.md
README.md
+14
-17
ma
ma
+0
-0
main.cpp
main.cpp
+9
-9
未找到文件。
.main.cpp.swp
浏览文件 @
1bb59848
无法预览此类型文件
README.md
浏览文件 @
1bb59848
...
...
@@ -16,25 +16,22 @@ Edge : 一个开源的科学计算引擎
axis=0 :
![](
./picture/apply_axis_0.png
)
| 0 | 7 | 2 |
| ---- | ---- | ---- |
| 0 | 3 | 1 |
| 0 | 0 | 0 |
| 0 | 0 | 11 |
| 0 | 7 | 2 |
| 0 | 3 | 1 |
| 0 | 0 | 0 |
| 0 | 0 | 11 |
axis = 1:
0.
268941
|9||0||2||0||0||0|🏃
|0||8||1||0||0||0|🏃
|0||0||0||7||0||0|🏃
|0||0||0||2||0||0|🏃
|0||0||0||4||0||0|🏃
|9||0||2||0||0||0|🏃
|0||8||1||0||0||0|🏃
|0||0||0||7||0||0|🏃
|0||0||0||2||0||0|🏃
|0||0||0||4||0||0|🏃
![](
./picture/apply_axis_1.png
)
| 0 | 7 | 2 | 0 | 7 | 2 |
| ---- | ---- | ---- | ---- | ---- | ---- |
| 0 | 3 | 1 | 0 | 3 | 1 |
| 0 | 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 11 | 0 | 0 | 11 |
------
...
...
ma
浏览文件 @
1bb59848
无法预览此类型文件
main.cpp
浏览文件 @
1bb59848
...
...
@@ -27,26 +27,26 @@ int main()
cout
<<
"-----------split line-----------"
<<
endl
;
welcome
();
Matrix
a
=
CreateMatrix
(
5
,
6
);
Matrix
a
=
CreateMatrix
(
4
,
3
);
double
a_
=
e_sigmoid
(
1
);
cout
<<
a_
<<
endl
;
change_va
(
a
,
1
,
2
,
1
);
change_va
(
a
,
2
,
3
,
7
);
change_va
(
a
,
3
,
3
,
2
);
change_va
(
a
,
4
,
3
,
4
);
change_va
(
a
,
0
,
0
,
9
);
change_va
(
a
,
0
,
1
,
7
);
change_va
(
a
,
0
,
2
,
2
);
change_va
(
a
,
1
,
1
,
8
);
change_va
(
a
,
1
,
1
,
3
);
change_va
(
a
,
3
,
2
,
11
);
start
=
clock
();
Matrix
applyed_ma
=
appply
(
a
,
a
,
0
);
Matrix
applyed_ma
=
appply
(
a
,
a
,
1
);
for
(
int
index_x
=
0
;
index_x
<
applyed_ma
.
row
;
index_x
++
)
{
cout
<<
"|"
;
for
(
int
index_y
=
0
;
index_y
<
applyed_ma
.
col
;
index_y
++
)
{
cout
<<
"|"
<<
applyed_ma
.
matrix
[
index_x
][
index_y
]
<<
"|"
;
cout
<<
applyed_ma
.
matrix
[
index_x
][
index_y
]
<<
"|"
;
}
cout
<<
"🏃"
<<
endl
;
cout
<<
endl
;
}
cout
<<
"matrix sum: "
<<
matrix_sum
(
a
)
<<
endl
;
cout
<<
"matrix mean: "
<<
matrix_mean
(
a
)
<<
endl
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录