SlideShare ist ein Scribd-Unternehmen logo
1 von 43
Machine Learning for Mobile Developers:
Tensorflow Lite Framework
Avid Farhoodfar, PhD, MSSW
Artificial intelligence applications in
Consumer Electronic Devices
1
Index
● Why Machine Learning directly on-device is important &
how it is different than what you may do on the server.
● What has been built with TensorFlow Lite.
● Some Demo
2
What is Machine Learning ?
3
What’s a machine learning?
Use algorithms to learn from data (a.k.a Training)
Algorithms are known as models
Models perform prediction (a.k.a inference) Model
Output
“cat”
4
What’s a machine learning?
Use labeled data to improve models
labeled data = Input data + predictions
Errors used to improve the model
We need a Framework to make machine
learning predictions easier
Model
Output
“cat”
“cat”
Error
5
TensorFlow
TensorFlow is google’s framework for
machine learning.
It makes it easy to build and train
neural networks.
It is cross platform, works with CPUs, GPUs,
TPUs, as well as Mobile devices, and
Embedded Platforms.
Model
Output
“cat”
“cat”
Error
6
ML runs in many places
7
ML runs in many places
● Access to more data
8
ML runs in many places
● Access to more data
● Fast and closely knit interactions
9
ML runs in many places
● Access to more data
● Fast and closely knit interactions
● Privacy preserving
10
On-device ML allows building
new types of products!
11
On-device ML is hard
● Produced computer power
12
On-device ML is hard
● Produced computer power
● Limited memory
13
On-device ML is hard
● Produced computer power
● Limited memory
● Battery Constraints
14
Simplifying ML on-device
TensorFlow Lite makes these challenges much easier!
15
What can I do with it?
16
Many use cases
Speech Content
Classification
Prediction
Recognition
Text to Speech
Speech to Text
Object detection
Object Location
OCR Gesture
recognition
Facial modelling
Segmentation
Clustering
Compression
Super Resolution
Translation
Voice Synthesis
Video generation
Text generation
Audio generation
Text Image Audio
17
Who is using it?
18
>2B mobile devices
Have TensorFlow Lite deployed on them in production
19
Some of the users ...
20
21
22
Why Did They Migrate to TFLite?
their
their
23
Where are we at?
Where are we going?
24
25
26
27
28
29
30
GPU vs CPU Performance
At Google, they use
new GPU backend
which is accelerating
compute intensive
networks that enable
vital use cases for
the users.
31
32
33
34
35
36
37
38
39
DEMO TIME
TensorFlow Lite for
Microcontrollers
Smaller, cheaper & wider range of devices
40
This is about
Tiny models on tiny computers!
● Microcontrollers are everywhere
● Speech researchers were pioneers
● Models just tens of kilobytes
41
Here’s one I have in my pocket
Get ready for a live demo!
https://www.sparkfun.com/products/15170
384KB RAM, 1MB Flash, $15
Low single-digit milliwatt power usage
Days on a coin battery!
42
Why is this important?
(1) This is running entirely locally on the embedded chip.
We don’t need to have any internet connection
(2) The model itself is not quite 13 KB but it takes 20KB flash
storage on this device
(3) And the footprint of TensorFlow Lite for
Microcontrollers is only another 25 KB
43

Weitere ähnliche Inhalte

Ähnlich wie 2019 04-23-tf lite-avid-f

"Large-Scale Deep Learning for Building Intelligent Computer Systems," a Keyn...
"Large-Scale Deep Learning for Building Intelligent Computer Systems," a Keyn..."Large-Scale Deep Learning for Building Intelligent Computer Systems," a Keyn...
"Large-Scale Deep Learning for Building Intelligent Computer Systems," a Keyn...Edge AI and Vision Alliance
 
Deep learning with TensorFlow
Deep learning with TensorFlowDeep learning with TensorFlow
Deep learning with TensorFlowNdjido Ardo BAR
 
Machine learning and Deep learning on edge devices using TensorFlow
Machine learning and Deep learning on edge devices using TensorFlowMachine learning and Deep learning on edge devices using TensorFlow
Machine learning and Deep learning on edge devices using TensorFlowAditya Bhattacharya
 
Hadoop training in mumbai
Hadoop training in mumbaiHadoop training in mumbai
Hadoop training in mumbaifaizrashid1995
 
Deep Learning Neural Network Acceleration at the Edge - Andrea Gallo
Deep Learning Neural Network Acceleration at the Edge - Andrea GalloDeep Learning Neural Network Acceleration at the Edge - Andrea Gallo
Deep Learning Neural Network Acceleration at the Edge - Andrea GalloLinaro
 
Kaz Sato, Evangelist, Google at MLconf ATL 2016
Kaz Sato, Evangelist, Google at MLconf ATL 2016Kaz Sato, Evangelist, Google at MLconf ATL 2016
Kaz Sato, Evangelist, Google at MLconf ATL 2016MLconf
 
Top 7 Frameworks for Integration AI in App Development
Top 7 Frameworks for Integration AI in App DevelopmentTop 7 Frameworks for Integration AI in App Development
Top 7 Frameworks for Integration AI in App DevelopmentInexture Solutions
 
2018 09 26 CTT .NET User Group - Introduction to Machine Learning.Net and Win...
2018 09 26 CTT .NET User Group - Introduction to Machine Learning.Net and Win...2018 09 26 CTT .NET User Group - Introduction to Machine Learning.Net and Win...
2018 09 26 CTT .NET User Group - Introduction to Machine Learning.Net and Win...Bruno Capuano
 
Martin Musiol - Style-transfer with TensorFlow - Codemotion Milan 2018
Martin Musiol - Style-transfer with TensorFlow - Codemotion Milan 2018Martin Musiol - Style-transfer with TensorFlow - Codemotion Milan 2018
Martin Musiol - Style-transfer with TensorFlow - Codemotion Milan 2018Codemotion
 
Machine Learning pada Perangkat Portabel - Nurendrantoro
Machine Learning pada Perangkat Portabel - NurendrantoroMachine Learning pada Perangkat Portabel - Nurendrantoro
Machine Learning pada Perangkat Portabel - NurendrantoroDicodingEvent
 
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration WorkflowsIgniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration WorkflowsSafe Software
 
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration Workflows Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration Workflows Safe Software
 
Getting Started with Machine Learning.Net & Windows Machine Learning
Getting Started with Machine Learning.Net & Windows Machine LearningGetting Started with Machine Learning.Net & Windows Machine Learning
Getting Started with Machine Learning.Net & Windows Machine LearningBruno Capuano
 
Track2 02. machine intelligence at google scale google, kaz sato, staff devel...
Track2 02. machine intelligence at google scale google, kaz sato, staff devel...Track2 02. machine intelligence at google scale google, kaz sato, staff devel...
Track2 02. machine intelligence at google scale google, kaz sato, staff devel...양 한빛
 
Leverage the power of machine learning on windows
Leverage the power of machine learning on windowsLeverage the power of machine learning on windows
Leverage the power of machine learning on windowsMia Chang
 
2018 11 14 Artificial Intelligence and Machine Learning in Azure
2018 11 14 Artificial Intelligence and Machine Learning in Azure2018 11 14 Artificial Intelligence and Machine Learning in Azure
2018 11 14 Artificial Intelligence and Machine Learning in AzureBruno Capuano
 
Faster deep learning solutions from training to inference - Michele Tameni - ...
Faster deep learning solutions from training to inference - Michele Tameni - ...Faster deep learning solutions from training to inference - Michele Tameni - ...
Faster deep learning solutions from training to inference - Michele Tameni - ...Codemotion
 

Ähnlich wie 2019 04-23-tf lite-avid-f (20)

"Large-Scale Deep Learning for Building Intelligent Computer Systems," a Keyn...
"Large-Scale Deep Learning for Building Intelligent Computer Systems," a Keyn..."Large-Scale Deep Learning for Building Intelligent Computer Systems," a Keyn...
"Large-Scale Deep Learning for Building Intelligent Computer Systems," a Keyn...
 
Persian MNIST in 5 Minutes
Persian MNIST in 5 MinutesPersian MNIST in 5 Minutes
Persian MNIST in 5 Minutes
 
Tensorflow Ecosystem
Tensorflow EcosystemTensorflow Ecosystem
Tensorflow Ecosystem
 
Deep learning with TensorFlow
Deep learning with TensorFlowDeep learning with TensorFlow
Deep learning with TensorFlow
 
Machine learning and Deep learning on edge devices using TensorFlow
Machine learning and Deep learning on edge devices using TensorFlowMachine learning and Deep learning on edge devices using TensorFlow
Machine learning and Deep learning on edge devices using TensorFlow
 
Hadoop training in mumbai
Hadoop training in mumbaiHadoop training in mumbai
Hadoop training in mumbai
 
Deep Learning Neural Network Acceleration at the Edge - Andrea Gallo
Deep Learning Neural Network Acceleration at the Edge - Andrea GalloDeep Learning Neural Network Acceleration at the Edge - Andrea Gallo
Deep Learning Neural Network Acceleration at the Edge - Andrea Gallo
 
Kaz Sato, Evangelist, Google at MLconf ATL 2016
Kaz Sato, Evangelist, Google at MLconf ATL 2016Kaz Sato, Evangelist, Google at MLconf ATL 2016
Kaz Sato, Evangelist, Google at MLconf ATL 2016
 
Top 7 Frameworks for Integration AI in App Development
Top 7 Frameworks for Integration AI in App DevelopmentTop 7 Frameworks for Integration AI in App Development
Top 7 Frameworks for Integration AI in App Development
 
2018 09 26 CTT .NET User Group - Introduction to Machine Learning.Net and Win...
2018 09 26 CTT .NET User Group - Introduction to Machine Learning.Net and Win...2018 09 26 CTT .NET User Group - Introduction to Machine Learning.Net and Win...
2018 09 26 CTT .NET User Group - Introduction to Machine Learning.Net and Win...
 
Introduction to ML.NET
Introduction to ML.NETIntroduction to ML.NET
Introduction to ML.NET
 
Martin Musiol - Style-transfer with TensorFlow - Codemotion Milan 2018
Martin Musiol - Style-transfer with TensorFlow - Codemotion Milan 2018Martin Musiol - Style-transfer with TensorFlow - Codemotion Milan 2018
Martin Musiol - Style-transfer with TensorFlow - Codemotion Milan 2018
 
Machine Learning pada Perangkat Portabel - Nurendrantoro
Machine Learning pada Perangkat Portabel - NurendrantoroMachine Learning pada Perangkat Portabel - Nurendrantoro
Machine Learning pada Perangkat Portabel - Nurendrantoro
 
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration WorkflowsIgniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
 
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration Workflows Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
 
Getting Started with Machine Learning.Net & Windows Machine Learning
Getting Started with Machine Learning.Net & Windows Machine LearningGetting Started with Machine Learning.Net & Windows Machine Learning
Getting Started with Machine Learning.Net & Windows Machine Learning
 
Track2 02. machine intelligence at google scale google, kaz sato, staff devel...
Track2 02. machine intelligence at google scale google, kaz sato, staff devel...Track2 02. machine intelligence at google scale google, kaz sato, staff devel...
Track2 02. machine intelligence at google scale google, kaz sato, staff devel...
 
Leverage the power of machine learning on windows
Leverage the power of machine learning on windowsLeverage the power of machine learning on windows
Leverage the power of machine learning on windows
 
2018 11 14 Artificial Intelligence and Machine Learning in Azure
2018 11 14 Artificial Intelligence and Machine Learning in Azure2018 11 14 Artificial Intelligence and Machine Learning in Azure
2018 11 14 Artificial Intelligence and Machine Learning in Azure
 
Faster deep learning solutions from training to inference - Michele Tameni - ...
Faster deep learning solutions from training to inference - Michele Tameni - ...Faster deep learning solutions from training to inference - Michele Tameni - ...
Faster deep learning solutions from training to inference - Michele Tameni - ...
 

Kürzlich hochgeladen

Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...RKavithamani
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 

Kürzlich hochgeladen (20)

Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 

2019 04-23-tf lite-avid-f

  • 1. Machine Learning for Mobile Developers: Tensorflow Lite Framework Avid Farhoodfar, PhD, MSSW Artificial intelligence applications in Consumer Electronic Devices 1
  • 2. Index ● Why Machine Learning directly on-device is important & how it is different than what you may do on the server. ● What has been built with TensorFlow Lite. ● Some Demo 2
  • 3. What is Machine Learning ? 3
  • 4. What’s a machine learning? Use algorithms to learn from data (a.k.a Training) Algorithms are known as models Models perform prediction (a.k.a inference) Model Output “cat” 4
  • 5. What’s a machine learning? Use labeled data to improve models labeled data = Input data + predictions Errors used to improve the model We need a Framework to make machine learning predictions easier Model Output “cat” “cat” Error 5
  • 6. TensorFlow TensorFlow is google’s framework for machine learning. It makes it easy to build and train neural networks. It is cross platform, works with CPUs, GPUs, TPUs, as well as Mobile devices, and Embedded Platforms. Model Output “cat” “cat” Error 6
  • 7. ML runs in many places 7
  • 8. ML runs in many places ● Access to more data 8
  • 9. ML runs in many places ● Access to more data ● Fast and closely knit interactions 9
  • 10. ML runs in many places ● Access to more data ● Fast and closely knit interactions ● Privacy preserving 10
  • 11. On-device ML allows building new types of products! 11
  • 12. On-device ML is hard ● Produced computer power 12
  • 13. On-device ML is hard ● Produced computer power ● Limited memory 13
  • 14. On-device ML is hard ● Produced computer power ● Limited memory ● Battery Constraints 14
  • 15. Simplifying ML on-device TensorFlow Lite makes these challenges much easier! 15
  • 16. What can I do with it? 16
  • 17. Many use cases Speech Content Classification Prediction Recognition Text to Speech Speech to Text Object detection Object Location OCR Gesture recognition Facial modelling Segmentation Clustering Compression Super Resolution Translation Voice Synthesis Video generation Text generation Audio generation Text Image Audio 17
  • 18. Who is using it? 18
  • 19. >2B mobile devices Have TensorFlow Lite deployed on them in production 19
  • 20. Some of the users ... 20
  • 21. 21
  • 22. 22
  • 23. Why Did They Migrate to TFLite? their their 23
  • 24. Where are we at? Where are we going? 24
  • 25. 25
  • 26. 26
  • 27. 27
  • 28. 28
  • 29. 29
  • 30. 30 GPU vs CPU Performance At Google, they use new GPU backend which is accelerating compute intensive networks that enable vital use cases for the users.
  • 31. 31
  • 32. 32
  • 33. 33
  • 34. 34
  • 35. 35
  • 36. 36
  • 37. 37
  • 38. 38
  • 39. 39
  • 40. DEMO TIME TensorFlow Lite for Microcontrollers Smaller, cheaper & wider range of devices 40
  • 41. This is about Tiny models on tiny computers! ● Microcontrollers are everywhere ● Speech researchers were pioneers ● Models just tens of kilobytes 41
  • 42. Here’s one I have in my pocket Get ready for a live demo! https://www.sparkfun.com/products/15170 384KB RAM, 1MB Flash, $15 Low single-digit milliwatt power usage Days on a coin battery! 42
  • 43. Why is this important? (1) This is running entirely locally on the embedded chip. We don’t need to have any internet connection (2) The model itself is not quite 13 KB but it takes 20KB flash storage on this device (3) And the footprint of TensorFlow Lite for Microcontrollers is only another 25 KB 43