mirror of
https://github.com/Tencent/ncnn.git
synced 2026-10-29 04:17:40 +08:00
binaryop bf16s
This commit is contained in:
@@ -39,6 +39,7 @@ static int test_binaryop(const ncnn::Mat& _a, const ncnn::Mat& _b, int op_type)
|
||||
ncnn::Option opt;
|
||||
opt.num_threads = 1;
|
||||
opt.use_vulkan_compute = true;
|
||||
opt.use_int8_inference = false;
|
||||
opt.use_fp16_packed = false;
|
||||
opt.use_fp16_storage = false;
|
||||
opt.use_fp16_arithmetic = false;
|
||||
@@ -78,6 +79,7 @@ static int test_binaryop(const ncnn::Mat& _a, float b, int op_type)
|
||||
ncnn::Option opt;
|
||||
opt.num_threads = 1;
|
||||
opt.use_vulkan_compute = true;
|
||||
opt.use_int8_inference = false;
|
||||
opt.use_fp16_packed = false;
|
||||
opt.use_fp16_storage = false;
|
||||
opt.use_fp16_arithmetic = false;
|
||||
|
||||
Reference in New Issue
Block a user