Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Tensorflow for Android Developers
Search
Joe Birch
March 26, 2018
Technology
3
250
Tensorflow for Android Developers
Joe Birch
March 26, 2018
Tweet
Share
More Decks by Joe Birch
See All by Joe Birch
Learning to play guitar with Actions on Google
hitherejoe
1
94
Making Change as an Ally
hitherejoe
1
450
Learning to play the guitar with Actions on Google
hitherejoe
0
130
For Optimists, our UI is pretty Pessimistic
hitherejoe
4
2.8k
Android Things: Building for the IoT
hitherejoe
2
170
Getting Clean, Keeping Lean
hitherejoe
10
650
Android TV: Building Apps with Google’s Leanback Library
hitherejoe
1
980
Building Beautiful Apps with the Design Support Library
hitherejoe
3
230
Other Decks in Technology
See All in Technology
LLM as プロダクト開発のパワードスーツ
layerx
PRO
1
240
Recap of Next - Google Cloud で実践する クラウドネイティブ最前線 / The Frontlines of Cloud-Native with Insights from Google Cloud
aoto
PRO
1
100
PicoRabbit: a Tiny Presentation Device Powered by Ruby
harukasan
PRO
2
200
改めて学ぶ Trait の使い方 / phpcon odawara 2025
meihei3
1
660
Dynamic Reteaming And Self Organization
miholovesq
3
420
Les nouveautés d'OKDP - Open Kubernetes Data Platform
bluehats
0
110
Spice up your notifications/try!Swift25
noppefoxwolf
2
350
Webアプリを Lambdaで動かすまでに考えること / How to implement monolithic Lambda Web Application
_kensh
7
1.3k
はてなの開発20年史と DevOpsの歩み / DevOpsDays Tokyo 2025 Keynote
daiksy
6
1.5k
Road to Go Gem #rubykaigi
sue445
0
380
更新系と状態
uhyo
5
750
LangfuseでAIエージェントの 可観測性を高めよう!/Enhancing AI Agent Observability with Langfuse!
jnymyk
1
220
Featured
See All Featured
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.8k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
The Cost Of JavaScript in 2023
addyosmani
49
7.7k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
VelocityConf: Rendering Performance Case Studies
addyosmani
328
24k
Into the Great Unknown - MozCon
thekraken
37
1.7k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.1k
KATA
mclloyd
29
14k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
13
1.4k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2k
Become a Pro
speakerdeck
PRO
27
5.3k
Transcript
TENSORFLOW FOR ANDROID DEVELOPERS JOE BIRCH - @HITHEREJOE - ANDROID
LEAD @BUFFER - GDE @ANDROID
MACHINE LEARNING 101 Get data Clean, prep & manipulate data
Train Model Test data Improve
MACHINE LEARNING 101 Unsupervised Learning Supervised Learning Clustering Classification Regression
MACHINE LEARNING 101 Unsupervised Learning Supervised Learning Clustering Classification Regression
MACHINE LEARNING 101 Unsupervised Learning Supervised Learning Clustering Classification Regression
MACHINE LEARNING 101 Unsupervised Learning Supervised Learning Clustering Classification Regression
MACHINE LEARNING 101 Unsupervised Learning Supervised Learning Clustering Classification Regression
MACHINE LEARNING 101 Unsupervised Learning Supervised Learning Clustering Classification Regression
MACHINE LEARNING AND MOBILE
MACHINE LEARNING AND MOBILE
TENSORFLOW
TENSORFLOW
COMPUTATION GRAPHS C D F A B E
NEURAL NETWORKS Some Image Result
NEURAL NETWORKS Some Image Result
NEURAL NETWORKS Some Image Result
NEURAL NETWORKS Some Image Result Pre-trained model
BUILDING OUR OWN IMAGE CLASSIFIER USING A MOBILE NET
TENSORBOARD
TENSORBOARD
TENSORBOARD tensorboard --logdir tf_files/training_summaries &
TRAINING DATA
RETRAINING THE MODEL
RETRAINING THE MODEL
RETRAINING THE MODEL
RETRAINING THE MODEL
RETRAINING THE MODEL
RETRAINING THE MODEL
RETRAINING THE MODEL
RETRAINING THE MODEL
RETRAINING THE MODEL
RETRAINING THE MODEL
RETRAINING THE MODEL
HOW TRAINING WORKS?
HOW TRAINING WORKS?
HOW TRAINING WORKS?
HOW TRAINING WORKS?
HOW TRAINING WORKS?
HOW TRAINING WORKS?
MODEL ACCURACY
MODEL ACCURACY
OPTIMISING THE MODEL Model Operation Model Operation Model Operation Model
Operation Load graph Don’t load graph Operation supported?
OPTIMISING THE MODEL
OPTIMISING THE MODEL
OPTIMISING THE MODEL
OPTIMISING THE MODEL
OPTIMISING THE MODEL
QUANTISATION
QUANTISATION
QUANTISATION
QUANTISATION
OPTIMISING THE MODEL
ADDING THIS TO AN APP Add Dependancy Create TF Reference
Feed data Run inference Fetch result Handle confidence
ADDING THIS TO AN APP
ADDING THIS TO AN APP // convert to 3d array
(width / height / color)
ADDING THIS TO AN APP
ADDING THIS TO AN APP
ADDING THIS TO AN APP Shape of our input
ADDING THIS TO AN APP
ADDING THIS TO AN APP
ADDING THIS TO AN APP
ADDING THIS TO AN APP https://github.com/tensorflow/tensorflow
CONCLUSION