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

PDF
Parallel Computing - Lec 5
PPTX
PPTX
Training - What is Performance ?
PPTX
Training – Going Async
PDF
Actors: Not Just for Movies Anymore
PPTX
Real-Time Voice Actuation
PPTX
PDF
Netflix machine learning
Parallel Computing - Lec 5
Training - What is Performance ?
Training – Going Async
Actors: Not Just for Movies Anymore
Real-Time Voice Actuation
Netflix machine learning

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

PPTX
Introduction to Tensor Flow-v1.pptx
PDF
Tensorflow - Overview, Features And Advantages.pdf
PDF
Introduction to TensorFlow Lite
PDF
TensorFlow 2.0 Autographs - For TFUG - Vik Pant
PDF
TFLite NNAPI and GPU Delegates
PDF
running Tensorflow in Production
PDF
Tensorflow on Android
PDF
TensorFlow 101
PPTX
hpcpp.pptx
PPTX
Neural Networks with Google TensorFlow
PPTX
TensorFlow Technology
PDF
Advanced Spark and TensorFlow Meetup May 26, 2016
PDF
TensorFlow and Keras: An Overview
PDF
A Sneak Peek of MLIR in TensorFlow
PPTX
Introduction to tensorflow
PDF
How to Choose a Deep Learning Framework
PPTX
Machine Learning Toolssssssssssssss.pptx
PPTX
python_libraries_for_artificial_intelligence.pptx
PPTX
Coding For Cores - C# Way
PPTX
What is TensorFlow? | Introduction to TensorFlow | TensorFlow Tutorial For Be...
Introduction to Tensor Flow-v1.pptx
Tensorflow - Overview, Features And Advantages.pdf
Introduction to TensorFlow Lite
TensorFlow 2.0 Autographs - For TFUG - Vik Pant
TFLite NNAPI and GPU Delegates
running Tensorflow in Production
Tensorflow on Android
TensorFlow 101
hpcpp.pptx
Neural Networks with Google TensorFlow
TensorFlow Technology
Advanced Spark and TensorFlow Meetup May 26, 2016
TensorFlow and Keras: An Overview
A Sneak Peek of MLIR in TensorFlow
Introduction to tensorflow
How to Choose a Deep Learning Framework
Machine Learning Toolssssssssssssss.pptx
python_libraries_for_artificial_intelligence.pptx
Coding For Cores - C# Way
What is TensorFlow? | Introduction to TensorFlow | TensorFlow Tutorial For Be...
Ad

More from Sam Witteveen (8)

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

Recently uploaded (20)

PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
01-Introduction-to-Information-Management.pdf
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Pre independence Education in Inndia.pdf
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PPTX
master seminar digital applications in india
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Classroom Observation Tools for Teachers
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Sports Quiz easy sports quiz sports quiz
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
Cell Structure & Organelles in detailed.
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
Insiders guide to clinical Medicine.pdf
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
2.FourierTransform-ShortQuestionswithAnswers.pdf
01-Introduction-to-Information-Management.pdf
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Module 4: Burden of Disease Tutorial Slides S2 2025
Pre independence Education in Inndia.pdf
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
master seminar digital applications in india
STATICS OF THE RIGID BODIES Hibbelers.pdf
Classroom Observation Tools for Teachers
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
TR - Agricultural Crops Production NC III.pdf
Supply Chain Operations Speaking Notes -ICLT Program
Sports Quiz easy sports quiz sports quiz
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Cell Structure & Organelles in detailed.
human mycosis Human fungal infections are called human mycosis..pptx
Insiders guide to clinical Medicine.pdf

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: s@maclea.ai • twitter: sam_witteveen • https://github.com/samwit/TensorFlowTalks • Martin • martin.andrews@redcatlabs.com • http://mdda.net • github: mdda