Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
mehrdadh committed Jun 30, 2021
1 parent 0fa1207 commit ac30040
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tutorials/micro/micro_autotune.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@
TARGET = tvm.target.target.micro("host")
BOARD = "qemu_x86" # or "stm32f746g_disco"

# TARGET = tvm.target.target.micro("mps2_an521")
# BOARD = "mps2_an521"

# TARGET = tvm.target.target.micro("nrf5340dk")
# BOARD = "nrf5340dk_nrf5340_cpuapp"

#########################
# Extracting tuning tasks
#########################
Expand All @@ -107,12 +113,6 @@
tasks = tvm.autotvm.task.extract_from_program(tvm_model["main"], {}, TARGET)
assert len(tasks) > 0

builder = tvm.autotvm.LocalBuilder()
runner = tvm.autotvm.LocalRunner(number=1, repeat=1, timeout=0)

measure_option = tvm.autotvm.measure_option(builder=builder, runner=runner)


######################
# Configuring microTVM
######################
Expand Down

0 comments on commit ac30040

Please sign in to comment.