SlideShare a Scribd company logo
Introduction to TensorFlow
Introduction to
TensorFlow
GDG Cloud Belgium
29/09/2016
Matthias Feys
Introduction to TensorFlow 2
About myself (Matthias Feys)
work at Datatonic:
- Big Data (Dataflow/Spark)
- Machine Learning (TensorFlow/sklearn)
- DataViz (Tableau/Spotfire)
Google Qualified Developer
Contact me:
- @FsMatt
- matthias@datatonic.com
Introduction to TensorFlow 3
1. What is TensorFlow?
2. Why would you use it?
3. How does it work? + Demo
4. CloudML (alpha) discussion
Agenda
PLACE IMAGE HERE
4
Google TensorFlow
● Originally developed by the Google
Brain Team within Google's Machine
Intelligence research organization
● TensorFlow provides primitives for
defining functions on tensors and
automatically computing their
derivatives.
● An open source software library for
numerical computation using data
flow graphs
TensorFlow
5
Tensor?
Simply put: Tensors can be viewed as a
multidimensional array of numbers.
This means that:
● A scalar is a tensor,
● A vector is a tensor,
● A matrix is a tensor
● ...
6
Data Flow Graph?
● Computations are represented as graphs:
● Nodes are the operations (ops)
● Edges are the Tensors
(multidimensional arrays)
● Typical program consists of 2 phases:
● construction phase: assembling a
graph (model)
● execution phase:
pushing data through the graph
7
Neural Networks? Deep Learning?
● Neural Networks are represented by the lower figure,
not the top one....
● Link:
Tinker with a Neural Network in Your Browser
Presentation title (Go to View > Master to edit) 8
Source: https://www.udacity.com/course/deep-learning--ud730
Presentation title (Go to View > Master to edit) 9
Source: https://www.udacity.com/course/deep-learning--ud730
Presentation title (Go to View > Master to edit) 10
Source: https://www.udacity.com/course/deep-learning--ud730
Presentation title (Go to View > Master to edit) 11
Source: https://www.udacity.com/course/deep-learning--ud730
Presentation title (Go to View > Master to edit) 12
Source: https://www.udacity.com/course/deep-learning--ud730
Presentation title (Go to View > Master to edit) 13
Source: https://www.udacity.com/course/deep-learning--ud730
Presentation title (Go to View > Master to edit) 14
Source: https://www.udacity.com/course/deep-learning--ud730
Presentation title (Go to View > Master to edit) 15
Source: https://www.udacity.com/course/deep-learning--ud730
Presentation title (Go to View > Master to edit) 16
Source: https://www.udacity.com/course/deep-learning--ud730
Introduction to TensorFlow 17
1. What is TensorFlow?
2. Why would you use it?
3. How does it work? + Demo
4. CloudML (alpha) discussion
Agenda
Introduction to TensorFlow 18
Why would you use NN / Deep Learning?
● Neural Networks (NNs) are universal
function approximators that work very
well with huge datasets
● NNs / deep networks do unsupervised
feature learning
● Track record, being SotA in:
○ image classification,
○ language processing,
○ speech recognition,
○ ...
19
Why TensorFlow?
There are a lot of alternatives:
● Torch
● Caffe
● Theano (Keras, Lasagne)
● CuDNN
● Mxnet
● DSSTNE
● DL4J
● DIANNE
● Etc.
Introduction to TensorFlow 20
TensorFlow has the largest community
Sources: http://deliprao.com/archives/168
http://www.slideshare.net/JenAman/large-scale-deep-learning-wit
h-tensorflow
Introduction to TensorFlow 21
TensorFlow is very portable/scalable
Runs on CPUs, GPUs, TPUs over one or more
machines, but also on phones(android+iOS)
and raspberry pi’s...
Introduction to TensorFlow 22
TensorFlow is more than an R&D project
- Specific functionalities for deployment (TF Serving /
CloudML)
- Easier/more documentation (for more general public)
- Included visualization tool (Tensorboard)
- Simplified interfaces like SKFlow
Introduction to TensorFlow 23
1. What is TensorFlow?
2. Why would you use it?
3. How does it work? + Demo
4. CloudML (alpha) discussion
Agenda
Introduction to TensorFlow 24
How does it work?
Number Recognition w TF explained (in notebook) Speech classification (demo)
Great starting point:
https://github.com/tensorflow/models
Tensorboard notebook:
here
Introduction to TensorFlow 25
Do It Yourself! (in Datalab)
Do It Yourself:
1) Open Cloud Shell
2) Paste these commands:
3) Enter the returned EXTERNAL-IP+”:8080” in your browser
gcloud container clusters create datalab-cluster --machine-type n1-standard-4
--num-nodes 1 --zone europe-west1-d
kubectl run datalab --image=gcr.io/cloud-datalab/datalab:mlbeta2 --port=8080
kubectl expose deployment datalab --type="LoadBalancer"
kubectl get service datalab
Introduction to TensorFlow 26
1. What is TensorFlow?
2. Why would you use it?
3. How does it work? + Demo
4. CloudML (alpha) discussion
Agenda
27
CloudML
1
2
3
2
1
Introduction to TensorFlow 28
- Curated list of TF resources: https://github.com/jtoy/awesome-tensorflow
- Models implemented in TF: https://github.com/tensorflow/models
- Slides “TF tricks of the trade”: https://drive.google.com/open?id=x_...
- Slides “TF and Deep Learning without a PhD”: https://docs.google.com/presentation/d/...
- Blogpost “DL with spark and TF”: https://databricks.com/blog/...
- The official documentation: https://www.tensorflow.org/versions/r0.10/...
Join: https://www.meetup.com/TensorFlow-Belgium
Further reading
Introduction to TensorFlow 29
Thank you

More Related Content

PDF
Tensorflow presentation
PDF
Introduction to TensorFlow 2.0
PPTX
REAL MADRID CF PRESENTATION
PDF
TensorFlow and Keras: An Overview
PPTX
Présentation PFE
PPTX
Introduction to Keras
PDF
Cours Html.pdf
PPTX
Making a good first impression
Tensorflow presentation
Introduction to TensorFlow 2.0
REAL MADRID CF PRESENTATION
TensorFlow and Keras: An Overview
Présentation PFE
Introduction to Keras
Cours Html.pdf
Making a good first impression

What's hot (20)

PPTX
What is TensorFlow? | Introduction to TensorFlow | TensorFlow Tutorial For Be...
PPTX
Tensorflow
PPTX
Deep learning
PPTX
Image Caption Generation using Convolutional Neural Network and LSTM
PDF
TensorFlow
PPTX
Image captioning
PPTX
Getting started with TensorFlow
PPT
Deep learning ppt
PDF
Introduction To TensorFlow
PPTX
Presentation template for Hackathons
PDF
Transformer Introduction (Seminar Material)
PPTX
The Deep Learning Glossary
PDF
Neural networks and deep learning
PPTX
Tensorflow - Intro (2017)
PPTX
Intro to deep learning
PDF
Introduction to Natural Language Processing (NLP)
PDF
INTRODUCTION TO FLUTTER.pdf
PPTX
Introduction to Transformer Model
PPTX
Introduction to Named Entity Recognition
PDF
Deep Learning - Convolutional Neural Networks
What is TensorFlow? | Introduction to TensorFlow | TensorFlow Tutorial For Be...
Tensorflow
Deep learning
Image Caption Generation using Convolutional Neural Network and LSTM
TensorFlow
Image captioning
Getting started with TensorFlow
Deep learning ppt
Introduction To TensorFlow
Presentation template for Hackathons
Transformer Introduction (Seminar Material)
The Deep Learning Glossary
Neural networks and deep learning
Tensorflow - Intro (2017)
Intro to deep learning
Introduction to Natural Language Processing (NLP)
INTRODUCTION TO FLUTTER.pdf
Introduction to Transformer Model
Introduction to Named Entity Recognition
Deep Learning - Convolutional Neural Networks
Ad

Similar to Introduction to TensorFlow (20)

PDF
Intro - End to end ML with Kubeflow @ SignalConf 2018
PDF
TonY: Native support of TensorFlow on Hadoop
PDF
Luigi presentation NYC Data Science
PPTX
Dash presentation
PDF
Tensorflow 2.0 and Coral Edge TPU
PDF
Going deep (learning) with tensor flow and quarkus
PDF
Get your organization’s feet wet with Semantic Web Technologies
PDF
Austin,TX Meetup presentation tensorflow final oct 26 2017
PDF
Webinar : Talend : The Non-Programmer's Swiss Knife for Big Data
PDF
Spark Summit EU 2015: Lessons from 300+ production users
PDF
Large Scale Deep Learning with TensorFlow
PPTX
Terraform training - Modules 🎒
DOCX
TechDayConf Edition 1 - 2020
PPTX
EdTechJoker Spring 2020 - Lecture 7 Drupal intro
PPTX
Databricks for Dummies
PDF
ETL using Big Data Talend
PDF
Adios hadoop, Hola Spark! T3chfest 2015
PPTX
Future proofing design work with Web components
PPTX
sitNL 2018 - SAP TechEd BI takeaway / Recap
PDF
Unified Big Data Processing with Apache Spark
Intro - End to end ML with Kubeflow @ SignalConf 2018
TonY: Native support of TensorFlow on Hadoop
Luigi presentation NYC Data Science
Dash presentation
Tensorflow 2.0 and Coral Edge TPU
Going deep (learning) with tensor flow and quarkus
Get your organization’s feet wet with Semantic Web Technologies
Austin,TX Meetup presentation tensorflow final oct 26 2017
Webinar : Talend : The Non-Programmer's Swiss Knife for Big Data
Spark Summit EU 2015: Lessons from 300+ production users
Large Scale Deep Learning with TensorFlow
Terraform training - Modules 🎒
TechDayConf Edition 1 - 2020
EdTechJoker Spring 2020 - Lecture 7 Drupal intro
Databricks for Dummies
ETL using Big Data Talend
Adios hadoop, Hola Spark! T3chfest 2015
Future proofing design work with Web components
sitNL 2018 - SAP TechEd BI takeaway / Recap
Unified Big Data Processing with Apache Spark
Ad

Recently uploaded (20)

PPTX
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
PPTX
Global journeys: estimating international migration
PPTX
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
PPTX
Business Ppt On Nestle.pptx huunnnhhgfvu
PPTX
climate analysis of Dhaka ,Banglades.pptx
PPTX
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
PDF
Fluorescence-microscope_Botany_detailed content
PPT
Chapter 3 METAL JOINING.pptnnnnnnnnnnnnn
PDF
TRAFFIC-MANAGEMENT-AND-ACCIDENT-INVESTIGATION-WITH-DRIVING-PDF-FILE.pdf
PDF
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
PPTX
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
PDF
BF and FI - Blockchain, fintech and Financial Innovation Lesson 2.pdf
PPTX
IB Computer Science - Internal Assessment.pptx
PPTX
STUDY DESIGN details- Lt Col Maksud (21).pptx
PPT
Reliability_Chapter_ presentation 1221.5784
PPTX
Data_Analytics_and_PowerBI_Presentation.pptx
PDF
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
PDF
Mega Projects Data Mega Projects Data
PPTX
oil_refinery_comprehensive_20250804084928 (1).pptx
PPTX
ALIMENTARY AND BILIARY CONDITIONS 3-1.pptx
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
Global journeys: estimating international migration
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
Business Ppt On Nestle.pptx huunnnhhgfvu
climate analysis of Dhaka ,Banglades.pptx
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
Fluorescence-microscope_Botany_detailed content
Chapter 3 METAL JOINING.pptnnnnnnnnnnnnn
TRAFFIC-MANAGEMENT-AND-ACCIDENT-INVESTIGATION-WITH-DRIVING-PDF-FILE.pdf
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
BF and FI - Blockchain, fintech and Financial Innovation Lesson 2.pdf
IB Computer Science - Internal Assessment.pptx
STUDY DESIGN details- Lt Col Maksud (21).pptx
Reliability_Chapter_ presentation 1221.5784
Data_Analytics_and_PowerBI_Presentation.pptx
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
Mega Projects Data Mega Projects Data
oil_refinery_comprehensive_20250804084928 (1).pptx
ALIMENTARY AND BILIARY CONDITIONS 3-1.pptx

Introduction to TensorFlow

  • 1. Introduction to TensorFlow Introduction to TensorFlow GDG Cloud Belgium 29/09/2016 Matthias Feys
  • 2. Introduction to TensorFlow 2 About myself (Matthias Feys) work at Datatonic: - Big Data (Dataflow/Spark) - Machine Learning (TensorFlow/sklearn) - DataViz (Tableau/Spotfire) Google Qualified Developer Contact me: - @FsMatt - matthias@datatonic.com
  • 3. Introduction to TensorFlow 3 1. What is TensorFlow? 2. Why would you use it? 3. How does it work? + Demo 4. CloudML (alpha) discussion Agenda
  • 4. PLACE IMAGE HERE 4 Google TensorFlow ● Originally developed by the Google Brain Team within Google's Machine Intelligence research organization ● TensorFlow provides primitives for defining functions on tensors and automatically computing their derivatives. ● An open source software library for numerical computation using data flow graphs TensorFlow
  • 5. 5 Tensor? Simply put: Tensors can be viewed as a multidimensional array of numbers. This means that: ● A scalar is a tensor, ● A vector is a tensor, ● A matrix is a tensor ● ...
  • 6. 6 Data Flow Graph? ● Computations are represented as graphs: ● Nodes are the operations (ops) ● Edges are the Tensors (multidimensional arrays) ● Typical program consists of 2 phases: ● construction phase: assembling a graph (model) ● execution phase: pushing data through the graph
  • 7. 7 Neural Networks? Deep Learning? ● Neural Networks are represented by the lower figure, not the top one.... ● Link: Tinker with a Neural Network in Your Browser
  • 8. Presentation title (Go to View > Master to edit) 8 Source: https://www.udacity.com/course/deep-learning--ud730
  • 9. Presentation title (Go to View > Master to edit) 9 Source: https://www.udacity.com/course/deep-learning--ud730
  • 10. Presentation title (Go to View > Master to edit) 10 Source: https://www.udacity.com/course/deep-learning--ud730
  • 11. Presentation title (Go to View > Master to edit) 11 Source: https://www.udacity.com/course/deep-learning--ud730
  • 12. Presentation title (Go to View > Master to edit) 12 Source: https://www.udacity.com/course/deep-learning--ud730
  • 13. Presentation title (Go to View > Master to edit) 13 Source: https://www.udacity.com/course/deep-learning--ud730
  • 14. Presentation title (Go to View > Master to edit) 14 Source: https://www.udacity.com/course/deep-learning--ud730
  • 15. Presentation title (Go to View > Master to edit) 15 Source: https://www.udacity.com/course/deep-learning--ud730
  • 16. Presentation title (Go to View > Master to edit) 16 Source: https://www.udacity.com/course/deep-learning--ud730
  • 17. Introduction to TensorFlow 17 1. What is TensorFlow? 2. Why would you use it? 3. How does it work? + Demo 4. CloudML (alpha) discussion Agenda
  • 18. Introduction to TensorFlow 18 Why would you use NN / Deep Learning? ● Neural Networks (NNs) are universal function approximators that work very well with huge datasets ● NNs / deep networks do unsupervised feature learning ● Track record, being SotA in: ○ image classification, ○ language processing, ○ speech recognition, ○ ...
  • 19. 19 Why TensorFlow? There are a lot of alternatives: ● Torch ● Caffe ● Theano (Keras, Lasagne) ● CuDNN ● Mxnet ● DSSTNE ● DL4J ● DIANNE ● Etc.
  • 20. Introduction to TensorFlow 20 TensorFlow has the largest community Sources: http://deliprao.com/archives/168 http://www.slideshare.net/JenAman/large-scale-deep-learning-wit h-tensorflow
  • 21. Introduction to TensorFlow 21 TensorFlow is very portable/scalable Runs on CPUs, GPUs, TPUs over one or more machines, but also on phones(android+iOS) and raspberry pi’s...
  • 22. Introduction to TensorFlow 22 TensorFlow is more than an R&D project - Specific functionalities for deployment (TF Serving / CloudML) - Easier/more documentation (for more general public) - Included visualization tool (Tensorboard) - Simplified interfaces like SKFlow
  • 23. Introduction to TensorFlow 23 1. What is TensorFlow? 2. Why would you use it? 3. How does it work? + Demo 4. CloudML (alpha) discussion Agenda
  • 24. Introduction to TensorFlow 24 How does it work? Number Recognition w TF explained (in notebook) Speech classification (demo) Great starting point: https://github.com/tensorflow/models Tensorboard notebook: here
  • 25. Introduction to TensorFlow 25 Do It Yourself! (in Datalab) Do It Yourself: 1) Open Cloud Shell 2) Paste these commands: 3) Enter the returned EXTERNAL-IP+”:8080” in your browser gcloud container clusters create datalab-cluster --machine-type n1-standard-4 --num-nodes 1 --zone europe-west1-d kubectl run datalab --image=gcr.io/cloud-datalab/datalab:mlbeta2 --port=8080 kubectl expose deployment datalab --type="LoadBalancer" kubectl get service datalab
  • 26. Introduction to TensorFlow 26 1. What is TensorFlow? 2. Why would you use it? 3. How does it work? + Demo 4. CloudML (alpha) discussion Agenda
  • 28. Introduction to TensorFlow 28 - Curated list of TF resources: https://github.com/jtoy/awesome-tensorflow - Models implemented in TF: https://github.com/tensorflow/models - Slides “TF tricks of the trade”: https://drive.google.com/open?id=x_... - Slides “TF and Deep Learning without a PhD”: https://docs.google.com/presentation/d/... - Blogpost “DL with spark and TF”: https://databricks.com/blog/... - The official documentation: https://www.tensorflow.org/versions/r0.10/... Join: https://www.meetup.com/TensorFlow-Belgium Further reading