Run your TFLite benchmarks on your computer!

3 views
Skip to first unread message

Sayak Paul

unread,
Sep 9, 2020, 4:28:44 AM9/9/20
to ML on Mobile OS Working Group
Hi folks,

TFLite benchmark tool provides a prebuilt native binary in order for us to execute the tool on TFLite models from our computers. This is where you can know more. 

Steps (for a Ubuntu machine):

$ sudo chmod +x linux_x86-64_benchmark_model
$ ./linux_x86-64_benchmark_model\
  --graph=your_model.tflite \
  --num_threads=4

It works seamlessly - 

image.png

I ran this inside a Ubuntu VM from my humble Mac so please excuse the numbers :D 

Until then, Optimize -> Export -> Benchmark -> Deploy -> Repeat!

Sayak Paul | sayak.dev

Reply all
Reply to author
Forward
0 new messages