SlideShare a Scribd company logo
TensorFlow for
Developers
By Sam Witteveen
What is TensorFlow?
• A tool for building computational graphs
• It allows for the graph to be distributed over many
many CPUs/GPUs
• Up till now TensorFlow has been a low level Library
• TensorFlow has fast become the standard library
for Deep Learning
Pure TF vs Higher Levels
• You will always have the most amount of control
with Pure TensorFlow
• It will usually be more work than Keras/TFLearn etc
• It allows you to understand more of what is actually
going on in the network
• TensorBoard is such a big advantage
The Big Concepts of
TensorFlow
• The Graph
• Operations
• Sessions
• TensorBoard
The Graph
• Everything must be built on the graph before you
execute
• We can do this in a variety of languages
• We the graph is run it will be in C++
• With new XLA TF will edit/create an optimized
graph
Operations
• Operations are performed on a graph
• Standard math operations through to common DL
formulas and tools
• Allow a high level of granularity in your model
Sessions
• Sessions execute the graph
• Nothing is run till you init and run a session
TensorBoard
• Gives us a visual representation of our model
• Gives us stats about our training variables like loss
accuracy etc
• Going to have debugging soon.
Conclusion
• Jump in. Its not as hard as people think and its
going to get even easier.
• Use TensorBoard to analyze/debug study your
models
• 1.0.0 is stable and there is no reason to delay
Summit 2017
TensorFlow 1.0.0
XLA
• Accelerated Linear Algebra
• Domain-specific compiler for linear algebra
• ... that optimizes TensorFlow computations
• JIT ('Just-in-Time') compilation
• AOT ('Ahead-of-Time') compilation
JIT COMPILATION
• Combine Ops in tree into single loops / kernels
• eg: on one MNIST forward/backward batch :
AOT COMPILATION
• tfcompile is a standalone tool ...
• .. that compiles TF graphs into executable code
• ... which can be used as library functions
• ... which does not depend on TensorFlow
• Target use-case : Mobile devices
High Level API
• Layers (1.1), Estimators(1.2), Canned Estimators
• Keras
• TFSlim/TFLearn (looks like SKL)
tf.keras
• New TF only version of Keras
• Will still have Theano versions and new CNTK Keras
• Layers/Models/ Mix & Match
• tf.keras.applications.InceptionV3(weights=‘imagine’,
include_top=False,pool=‘avg)
• Cloud ML support for distributed training and serving
• tf.contrib.keras coming in 1.1(mid march) then tf.keras in 1.2
The End
• Sam
• email: s@maclea.ai
• twitter: sam_witteveen
• https://github.com/samwit/TensorFlowTalks
• Martin
• martin.andrews@redcatlabs.com
• http://mdda.net
• github: mdda

More Related Content

Similar to Tensor flow intro and summit info feb 2017 (20)

PDF
Advanced Spark and TensorFlow Meetup May 26, 2016
Chris Fregly
 
PDF
Introduction to TensorFlow, by Machine Learning at Berkeley
Ted Xiao
 
PPTX
TensorFlow in Your Browser
Oswald Campesato
 
PDF
TensorFlow meetup: Keras - Pytorch - TensorFlow.js
Stijn Decubber
 
PDF
The Flow of TensorFlow
Jeongkyu Shin
 
PDF
Tensorflow 2.0 and Coral Edge TPU
Andrés Leonardo Martinez Ortiz
 
PPTX
Deep Learning in Your Browser
Oswald Campesato
 
PPTX
Introduction to TensorFlow 2
Oswald Campesato
 
PDF
TensorFlow example for AI Ukraine2016
Andrii Babii
 
PPTX
Introduction to Deep Learning and TensorFlow
Oswald Campesato
 
PPTX
Deep Learning and TensorFlow
Oswald Campesato
 
PPTX
Tensorflow Ecosystem
Vivek Raja P S
 
PDF
TensorFlow and Keras: An Overview
Poo Kuan Hoong
 
PPTX
Intro to Deep Learning, TensorFlow, and tensorflow.js
Oswald Campesato
 
PPTX
Introduction to Deep Learning, Keras, and Tensorflow
Oswald Campesato
 
PDF
Introduction to Deep Learning, Keras, and TensorFlow
Sri Ambati
 
PPTX
Introduction to Tensor Flow-v1.pptx
Janagi Raman S
 
PPTX
H2 o berkeleydltf
Oswald Campesato
 
PPTX
190111 tf2 preview_jwkang_pub
Jaewook. Kang
 
PDF
Tensor flow 2.0 what's new
Poo Kuan Hoong
 
Advanced Spark and TensorFlow Meetup May 26, 2016
Chris Fregly
 
Introduction to TensorFlow, by Machine Learning at Berkeley
Ted Xiao
 
TensorFlow in Your Browser
Oswald Campesato
 
TensorFlow meetup: Keras - Pytorch - TensorFlow.js
Stijn Decubber
 
The Flow of TensorFlow
Jeongkyu Shin
 
Tensorflow 2.0 and Coral Edge TPU
Andrés Leonardo Martinez Ortiz
 
Deep Learning in Your Browser
Oswald Campesato
 
Introduction to TensorFlow 2
Oswald Campesato
 
TensorFlow example for AI Ukraine2016
Andrii Babii
 
Introduction to Deep Learning and TensorFlow
Oswald Campesato
 
Deep Learning and TensorFlow
Oswald Campesato
 
Tensorflow Ecosystem
Vivek Raja P S
 
TensorFlow and Keras: An Overview
Poo Kuan Hoong
 
Intro to Deep Learning, TensorFlow, and tensorflow.js
Oswald Campesato
 
Introduction to Deep Learning, Keras, and Tensorflow
Oswald Campesato
 
Introduction to Deep Learning, Keras, and TensorFlow
Sri Ambati
 
Introduction to Tensor Flow-v1.pptx
Janagi Raman S
 
H2 o berkeleydltf
Oswald Campesato
 
190111 tf2 preview_jwkang_pub
Jaewook. Kang
 
Tensor flow 2.0 what's new
Poo Kuan Hoong
 

More from Sam Witteveen (8)

PDF
PyTorch 04 What's New in PyTorch Land
Sam Witteveen
 
PDF
Tensor flow 06 tips and tricks
Sam Witteveen
 
PDF
Tensor flow05 neural-machine-translation-seq2seq
Sam Witteveen
 
PDF
Tensor flow03 generativemodels part2 8x super resolution
Sam Witteveen
 
PDF
Conversational agents
Sam Witteveen
 
PDF
Traction
Sam Witteveen
 
PDF
Product development
Sam Witteveen
 
KEY
Hr Summit Biz Genius Presentation
Sam Witteveen
 
PyTorch 04 What's New in PyTorch Land
Sam Witteveen
 
Tensor flow 06 tips and tricks
Sam Witteveen
 
Tensor flow05 neural-machine-translation-seq2seq
Sam Witteveen
 
Tensor flow03 generativemodels part2 8x super resolution
Sam Witteveen
 
Conversational agents
Sam Witteveen
 
Traction
Sam Witteveen
 
Product development
Sam Witteveen
 
Hr Summit Biz Genius Presentation
Sam Witteveen
 
Ad

Recently uploaded (20)

PDF
Council of Chalcedon Re-Examined
Smiling Lungs
 
DOCX
Lesson 1 - Nature and Inquiry of Research
marvinnbustamante1
 
PPTX
How to Manage Expiry Date in Odoo 18 Inventory
Celine George
 
PDF
WATERSHED MANAGEMENT CASE STUDIES - ULUGURU MOUNTAINS AND ARVARI RIVERpdf
Ar.Asna
 
PDF
Android Programming - Basics of Mobile App, App tools and Android Basics
Kavitha P.V
 
PPTX
HUMAN RESOURCE MANAGEMENT: RECRUITMENT, SELECTION, PLACEMENT, DEPLOYMENT, TRA...
PRADEEP ABOTHU
 
PDF
Lean IP - Lecture by Dr Oliver Baldus at the MIPLM 2025
MIPLM
 
PPTX
How to Configure Re-Ordering From Portal in Odoo 18 Website
Celine George
 
PPTX
care of patient with elimination needs.pptx
Rekhanjali Gupta
 
PPTX
How to Send Email From Odoo 18 Website - Odoo Slides
Celine George
 
PPTX
SD_GMRC5_Session 6AB_Dulog Pedagohikal at Pagtataya (1).pptx
NickeyArguelles
 
PPTX
DAY 1_QUARTER1 ENGLISH 5 WEEK- PRESENTATION.pptx
BanyMacalintal
 
PDF
IMPORTANT GUIDELINES FOR M.Sc.ZOOLOGY DISSERTATION
raviralanaresh2
 
PDF
epi editorial commitee meeting presentation
MIPLM
 
PDF
Governor Josh Stein letter to NC delegation of U.S. House
Mebane Rash
 
PPTX
Controller Request and Response in Odoo18
Celine George
 
PPTX
PLANNING FOR EMERGENCY AND DISASTER MANAGEMENT ppt.pptx
PRADEEP ABOTHU
 
PDF
Week 2 - Irish Natural Heritage Powerpoint.pdf
swainealan
 
PPTX
Introduction to Indian Writing in English
Trushali Dodiya
 
PDF
I3PM Industry Case Study Siemens on Strategic and Value-Oriented IP Management
MIPLM
 
Council of Chalcedon Re-Examined
Smiling Lungs
 
Lesson 1 - Nature and Inquiry of Research
marvinnbustamante1
 
How to Manage Expiry Date in Odoo 18 Inventory
Celine George
 
WATERSHED MANAGEMENT CASE STUDIES - ULUGURU MOUNTAINS AND ARVARI RIVERpdf
Ar.Asna
 
Android Programming - Basics of Mobile App, App tools and Android Basics
Kavitha P.V
 
HUMAN RESOURCE MANAGEMENT: RECRUITMENT, SELECTION, PLACEMENT, DEPLOYMENT, TRA...
PRADEEP ABOTHU
 
Lean IP - Lecture by Dr Oliver Baldus at the MIPLM 2025
MIPLM
 
How to Configure Re-Ordering From Portal in Odoo 18 Website
Celine George
 
care of patient with elimination needs.pptx
Rekhanjali Gupta
 
How to Send Email From Odoo 18 Website - Odoo Slides
Celine George
 
SD_GMRC5_Session 6AB_Dulog Pedagohikal at Pagtataya (1).pptx
NickeyArguelles
 
DAY 1_QUARTER1 ENGLISH 5 WEEK- PRESENTATION.pptx
BanyMacalintal
 
IMPORTANT GUIDELINES FOR M.Sc.ZOOLOGY DISSERTATION
raviralanaresh2
 
epi editorial commitee meeting presentation
MIPLM
 
Governor Josh Stein letter to NC delegation of U.S. House
Mebane Rash
 
Controller Request and Response in Odoo18
Celine George
 
PLANNING FOR EMERGENCY AND DISASTER MANAGEMENT ppt.pptx
PRADEEP ABOTHU
 
Week 2 - Irish Natural Heritage Powerpoint.pdf
swainealan
 
Introduction to Indian Writing in English
Trushali Dodiya
 
I3PM Industry Case Study Siemens on Strategic and Value-Oriented IP Management
MIPLM
 
Ad

Tensor flow intro and summit info feb 2017

  • 2. What is TensorFlow? • A tool for building computational graphs • It allows for the graph to be distributed over many many CPUs/GPUs • Up till now TensorFlow has been a low level Library • TensorFlow has fast become the standard library for Deep Learning
  • 3. Pure TF vs Higher Levels • You will always have the most amount of control with Pure TensorFlow • It will usually be more work than Keras/TFLearn etc • It allows you to understand more of what is actually going on in the network • TensorBoard is such a big advantage
  • 4. The Big Concepts of TensorFlow • The Graph • Operations • Sessions • TensorBoard
  • 5. The Graph • Everything must be built on the graph before you execute • We can do this in a variety of languages • We the graph is run it will be in C++ • With new XLA TF will edit/create an optimized graph
  • 6. Operations • Operations are performed on a graph • Standard math operations through to common DL formulas and tools • Allow a high level of granularity in your model
  • 7. Sessions • Sessions execute the graph • Nothing is run till you init and run a session
  • 8. TensorBoard • Gives us a visual representation of our model • Gives us stats about our training variables like loss accuracy etc • Going to have debugging soon.
  • 9. Conclusion • Jump in. Its not as hard as people think and its going to get even easier. • Use TensorBoard to analyze/debug study your models • 1.0.0 is stable and there is no reason to delay
  • 12. XLA • Accelerated Linear Algebra • Domain-specific compiler for linear algebra • ... that optimizes TensorFlow computations • JIT ('Just-in-Time') compilation • AOT ('Ahead-of-Time') compilation
  • 13. JIT COMPILATION • Combine Ops in tree into single loops / kernels • eg: on one MNIST forward/backward batch :
  • 14. AOT COMPILATION • tfcompile is a standalone tool ... • .. that compiles TF graphs into executable code • ... which can be used as library functions • ... which does not depend on TensorFlow • Target use-case : Mobile devices
  • 15. High Level API • Layers (1.1), Estimators(1.2), Canned Estimators • Keras • TFSlim/TFLearn (looks like SKL)
  • 16. tf.keras • New TF only version of Keras • Will still have Theano versions and new CNTK Keras • Layers/Models/ Mix & Match • tf.keras.applications.InceptionV3(weights=‘imagine’, include_top=False,pool=‘avg) • Cloud ML support for distributed training and serving • tf.contrib.keras coming in 1.1(mid march) then tf.keras in 1.2
  • 17. The End • Sam • email: [email protected] • twitter: sam_witteveen • https://github.com/samwit/TensorFlowTalks • Martin • [email protected] • http://mdda.net • github: mdda