Skip to content

Commit

Permalink
apply code-format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui authored and github-actions[bot] committed Sep 29, 2024
1 parent 207e166 commit e5e5cd3
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/layer/arm/gemm_arm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5976,16 +5976,16 @@ int Gemm_arm::create_pipeline_int8(const Option& opt)
else
#endif
#if NCNN_VFPV4
if (ncnn::cpu_support_arm_vfpv4())
{
use_bf16 = opt.use_bf16_storage;
use_fp16 = opt.use_fp16_storage && !opt.use_bf16_storage;
}
else
if (ncnn::cpu_support_arm_vfpv4())
{
use_bf16 = opt.use_bf16_storage;
use_fp16 = opt.use_fp16_storage && !opt.use_bf16_storage;
}
else
#endif
{
input_elemtype = 1; // fp32
}
{
input_elemtype = 1; // fp32
}

if (use_fp16) input_elemtype = 2;
if (use_bf16) input_elemtype = 3;
Expand Down

0 comments on commit e5e5cd3

Please sign in to comment.