Skip to content
This repository was archived by the owner on Nov 25, 2023. It is now read-only.

Commit c371ba4

Browse files
committed
add tflite in test: global_config
1 parent 843d6ea commit c371ba4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/global_config.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ def support_backend_cmd_id(backend): # str_to_cmd
355355
# power_mode: "big_cores" # "little_cores", "no_bind"
356356
config["power_mode"] = "no_bind" # power_mode not provided
357357
config["bench_cmd_pattern"] = (
358-
"adb -s {serial_num} shell "
358+
"adb -s {serial_num} shell {power_mode_cpu_mask} "
359359
"{device_benchmark_bin} --graph={model_dir} "
360360
" --output_prefix={model_name} "
361361
"--num_runs={repeats} --warmup_runs={warmup} "
@@ -384,7 +384,7 @@ def tearDown(self):
384384
)
385385

386386
def test_config(self):
387-
framework_list = ["tnn", "mnn", "ncnn"]
387+
framework_list = ["tnn", "mnn", "ncnn", "tflite"]
388388
for fidx in range(len(framework_list)):
389389
framework = framework_list[fidx]
390390
framework_config = create_config(framework)

0 commit comments

Comments
 (0)