Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature arm fp16 op #588

Merged
merged 69 commits into from
Dec 15, 2020
Merged

Feature arm fp16 op #588

merged 69 commits into from
Dec 15, 2020

Conversation

powerpwang
Copy link
Collaborator

  1. Support ARMv8.2 FP16
  2. FP16 OP: Add, BatchNorm, Concat, Conv, Deconv, Pool, Permute, PReLU, ReLU, ReLU6, Sigmoid, Softmax

@powerpwang powerpwang added the enhancement New feature or request label Nov 25, 2020
@codecov-io
Copy link

codecov-io commented Nov 25, 2020

Codecov Report

Merging #588 (1d6e3b2) into master (5661ef9) will increase coverage by 2.33%.
The diff coverage is 24.19%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #588      +/-   ##
==========================================
+ Coverage   30.95%   33.28%   +2.33%     
==========================================
  Files         290      287       -3     
  Lines        9298     8331     -967     
==========================================
- Hits         2878     2773     -105     
+ Misses       6420     5558     -862     
Impacted Files Coverage Δ
include/tnn/core/common.h 100.00% <ø> (ø)
source/tnn/interpreter/layer_param.h 0.00% <ø> (ø)
...nn/optimizer/net_optimizer_insert_fp16_reformat.cc 14.45% <0.00%> (-1.13%) ⬇️
...tnn/optimizer/net_optimizer_insert_fp16_reformat.h 100.00% <ø> (ø)
source/tnn/utils/blob_converter_default.cc 86.47% <0.00%> (-1.60%) ⬇️
source/tnn/utils/blob_dump_utils.cc 0.61% <0.00%> (+0.61%) ⬆️
source/tnn/utils/cpu_utils.cc 13.33% <ø> (-2.46%) ⬇️
source/tnn/utils/random_data_utils.cc 64.70% <ø> (+2.20%) ⬆️
source/tnn/utils/naive_compute.cc 59.60% <71.42%> (+3.59%) ⬆️
source/tnn/utils/data_type_utils.cc 30.00% <0.00%> (-10.00%) ⬇️
... and 178 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5661ef9...1d6e3b2. Read the comment docs.

Comment on lines 45 to 46
testing::Values(DATA_TYPE_FLOAT),
// activation_type
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merge完master之后,half的测试没了

@powerpwang powerpwang closed this Dec 7, 2020
@powerpwang powerpwang reopened this Dec 15, 2020
seanxcwang
seanxcwang previously approved these changes Dec 15, 2020
@seanxcwang seanxcwang merged commit 870fb27 into master Dec 15, 2020
@seanxcwang seanxcwang deleted the feature-fp16-op branch December 15, 2020 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants