~/talk

Optimize your TensorFlow Lite models

Talkat Google I/O 2021 · 2021-05-18..05-20· [machine-learning]
name:Yunlu Li
github:yl4df
slides:none on file

TensorFlow Lite claims production use on over 4 billion devices and supplies concrete tools: Model Optimization Toolkit with post‑training and quantization‑aware APIs, weight pruning, and a benchmark binary that now reports memory and startup latency. Quantized MobileNet V2 shows a 39% speedup from runtime kernels, and Accent Pack yields about a 40% inference win on float MobileNet B2. Delegates include GPU OpenCL (beats OpenGL on Qualcomm), NNAPI, Hexagon, Core ML and Edge TPU, and pruned models can be quantized for extra gains.

AI-written summary · about

  1. 0:00Intro
  2. 0:53What we enable
  3. 1:05Workflow at a glance
  4. 1:25Model discovery - TensorFlow Hub
  5. 2:54Post Training Quantization Example
  6. 3:21Quantization Results
  7. 3:56Weight Pruning (aka Sparsity)
  8. 4:52Benefits of Weight Pruning
  9. 5:47To get the Best Performance
  10. 6:37Android Profiler
  11. 7:28Benchmark Tool TFLite Command Line Benchmark Tool
  12. 9:07CPU: XNNPACK Deep Dive
  13. 10:33GPU Delegation
  14. 10:58Inference w/ GPU
  15. 11:10NNAPI Delegation
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.