Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
f166fc40
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
1 年多 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
f166fc40
编写于
7月 25, 2023
作者:
P
principal87
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
二进制文件失真,替换
Signed-off-by:
N
principal87
<
nierong3@huawei.com
>
上级
2430a4f0
变更
10
展开全部
隐藏空白更改
内联
并排
Showing
10 changed file
with
1506 addition
and
1820 deletion
+1506
-1820
ai/mindspore/mindsporectest/src/ohos_common.cpp
ai/mindspore/mindsporectest/src/ohos_common.cpp
+12
-9
ai/mindspore/mindsporejstest/src/main/ets/test/Ability.test.ets
...dspore/mindsporejstest/src/main/ets/test/Ability.test.ets
+1494
-1811
ai/mindspore/mindsporejstest/src/main/resources/rawfile/aiy_vision_classifier_plants_V1_3_0.input
...sources/rawfile/aiy_vision_classifier_plants_V1_3_0.input
+0
-0
ai/mindspore/mindsporejstest/src/main/resources/rawfile/ml_face_isface.ms
...dsporejstest/src/main/resources/rawfile/ml_face_isface.ms
+0
-0
ai/mindspore/mindsporejstest/src/main/resources/rawfile/ml_face_isface_0.input
...ejstest/src/main/resources/rawfile/ml_face_isface_0.input
+0
-0
ai/mindspore/mindsporejstest/src/main/resources/rawfile/ml_headpose_pb2tflite.ms
...stest/src/main/resources/rawfile/ml_headpose_pb2tflite.ms
+0
-0
ai/mindspore/mindsporejstest/src/main/resources/rawfile/ml_headpose_pb2tflite_0.input
.../src/main/resources/rawfile/ml_headpose_pb2tflite_0.input
+0
-0
ai/mindspore/mindsporejstest/src/main/resources/rawfile/ml_ocr_cn_0.input
...dsporejstest/src/main/resources/rawfile/ml_ocr_cn_0.input
+0
-0
ai/mindspore/mindsporejstest/src/main/resources/rawfile/ml_video_edit_face_cutout_portraitSeg_deconv.ms
...s/rawfile/ml_video_edit_face_cutout_portraitSeg_deconv.ms
+0
-0
ai/mindspore/mindsporejstest/src/main/resources/rawfile/ml_video_edit_face_cutout_portraitSeg_deconv_0.input
...file/ml_video_edit_face_cutout_portraitSeg_deconv_0.input
+0
-0
未找到文件。
ai/mindspore/mindsporectest/src/ohos_common.cpp
浏览文件 @
f166fc40
...
@@ -165,11 +165,12 @@ bool allclose(float *a, float *b, uint64_t count, float rtol = 1e-05,
...
@@ -165,11 +165,12 @@ bool allclose(float *a, float *b, uint64_t count, float rtol = 1e-05,
if
(
i
==
count
-
1
)
{
if
(
i
==
count
-
1
)
{
printf
(
" ……
\n
"
);
printf
(
" ……
\n
"
);
printf
(
"
\n
*** Total fail_count: %u
\n
"
,
fail_count
);
printf
(
"
\n
*** Total fail_count: %u
\n
"
,
fail_count
);
printf
(
"
\n
fabs(a[i] - b[i])/(fabs(b[i])+1) : %f
\n
"
,
if
(
fail_count
!=
0
)
{
tol
/
fail_count
);
printf
(
"
\n
fabs(a[i] - b[i])/(fabs(b[i])+1) : %f
\n
"
,
printf
(
"
\n
fabs(a[i] - b[i]) : %f
\n
"
,
tol1
/
fail_count
);
tol
/
fail_count
);
printf
(
"
\n
fabs(a[i] - b[i])/fabs(b[i]) : %f
\n
"
,
tol2
/
fail_count
);
printf
(
"
\n
fabs(a[i] - b[i]) : %f
\n
"
,
tol1
/
fail_count
);
printf
(
"
\n
fabs(a[i] - b[i])/fabs(b[i]) : %f
\n
"
,
tol2
/
fail_count
);
}
c
=
c
+
count
;
c
=
c
+
count
;
printf
(
"
\n
avg : %f
\n
"
,
sum
/
count
);
printf
(
"
\n
avg : %f
\n
"
,
sum
/
count
);
printf
(
"
\n
min : %f
\n
"
,
minimum
);
printf
(
"
\n
min : %f
\n
"
,
minimum
);
...
@@ -254,10 +255,12 @@ bool allclose_int8(uint8_t *a, uint8_t *b, uint64_t count, float rtol = 1e-05,
...
@@ -254,10 +255,12 @@ bool allclose_int8(uint8_t *a, uint8_t *b, uint64_t count, float rtol = 1e-05,
if
(
i
==
count
-
1
)
{
if
(
i
==
count
-
1
)
{
printf
(
" ……
\n
"
);
printf
(
" ……
\n
"
);
printf
(
"
\n
*** Total fail_count: %u
\n
"
,
fail_count
);
printf
(
"
\n
*** Total fail_count: %u
\n
"
,
fail_count
);
printf
(
"
\n
fabs(a[i] - b[i])/(fabs(b[i])+1) : %f
\n
"
,
if
(
fail_count
!=
0
)
{
tol
/
fail_count
);
printf
(
"
\n
fabs(a[i] - b[i])/(fabs(b[i])+1) : %f
\n
"
,
printf
(
"
\n
fabs(a[i] - b[i]) : %f
\n
"
,
tol1
/
fail_count
);
tol
/
fail_count
);
printf
(
"
\n
fabs(a[i] - b[i])/fabs(b[i]) : %f
\n
"
,
tol2
/
fail_count
);
printf
(
"
\n
fabs(a[i] - b[i]) : %f
\n
"
,
tol1
/
fail_count
);
printf
(
"
\n
fabs(a[i] - b[i])/fabs(b[i]) : %f
\n
"
,
tol2
/
fail_count
);
}
c
=
c
+
count
;
c
=
c
+
count
;
printf
(
"
\n
avg : %f
\n
"
,
sum
/
count
);
printf
(
"
\n
avg : %f
\n
"
,
sum
/
count
);
...
...
ai/mindspore/mindsporejstest/src/main/ets/test/Ability.test.ets
浏览文件 @
f166fc40
此差异已折叠。
点击以展开。
ai/mindspore/mindsporejstest/src/main/resources/rawfile/aiy_vision_classifier_plants_V1_3_0.input
浏览文件 @
f166fc40
无法预览此类型文件
ai/mindspore/mindsporejstest/src/main/resources/rawfile/ml_face_isface.ms
浏览文件 @
f166fc40
无法预览此类型文件
ai/mindspore/mindsporejstest/src/main/resources/rawfile/ml_face_isface_0.input
浏览文件 @
f166fc40
无法预览此类型文件
ai/mindspore/mindsporejstest/src/main/resources/rawfile/ml_headpose_pb2tflite.ms
浏览文件 @
f166fc40
无法预览此类型文件
ai/mindspore/mindsporejstest/src/main/resources/rawfile/ml_headpose_pb2tflite_0.input
浏览文件 @
f166fc40
无法预览此类型文件
ai/mindspore/mindsporejstest/src/main/resources/rawfile/ml_ocr_cn_0.input
浏览文件 @
f166fc40
无法预览此类型文件
ai/mindspore/mindsporejstest/src/main/resources/rawfile/ml_video_edit_face_cutout_portraitSeg_deconv.ms
浏览文件 @
f166fc40
无法预览此类型文件
ai/mindspore/mindsporejstest/src/main/resources/rawfile/ml_video_edit_face_cutout_portraitSeg_deconv_0.input
浏览文件 @
f166fc40
无法预览此类型文件
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录