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

PPTX
What is TensorFlow? | Introduction to TensorFlow | TensorFlow Tutorial For Be...
PDF
Introduction to TensorFlow 2.0
PDF
Tensorflow presentation
PPTX
Introduction to Keras
PDF
Introduction To TensorFlow
PDF
TensorFlow and Keras: An Overview
PDF
MIT Deep Learning Basics: Introduction and Overview by Lex Fridman
PDF
Introduction to Deep Learning, Keras, and TensorFlow
What is TensorFlow? | Introduction to TensorFlow | TensorFlow Tutorial For Be...
Introduction to TensorFlow 2.0
Tensorflow presentation
Introduction to Keras
Introduction To TensorFlow
TensorFlow and Keras: An Overview
MIT Deep Learning Basics: Introduction and Overview by Lex Fridman
Introduction to Deep Learning, Keras, and TensorFlow

What's hot (20)

PPTX
TensorFlow Tutorial | Deep Learning With TensorFlow | TensorFlow Tutorial For...
PDF
Introduction to TensorFlow Lite
PDF
MLflow: A Platform for Production Machine Learning
PPTX
Natural language processing and transformer models
PPTX
Pytorch
PDF
PyTorch Python Tutorial | Deep Learning Using PyTorch | Image Classifier Usin...
PDF
Introduction to keras
PDF
Chapitre 2 hadoop
PDF
Cours Big Data Chap4 - Spark
PPTX
Jenkins Pipeline Tutorial | Jenkins Build And Delivery Pipeline | Jenkins Tut...
PDF
NLP using transformers
PDF
Introduction to spaCy
PPTX
Transfer Learning and Fine-tuning Deep Neural Networks
PPTX
Pre trained language model
PDF
BigData_TP2: Design Patterns dans Hadoop
PDF
Bighead: Airbnb’s End-to-End Machine Learning Platform with Krishna Puttaswa...
PDF
Build an LLM-powered application using LangChain.pdf
PDF
BigData_TP1: Initiation à Hadoop et Map-Reduce
PPTX
Attention Is All You Need
PPTX
What Is Deep Learning? | Introduction to Deep Learning | Deep Learning Tutori...
TensorFlow Tutorial | Deep Learning With TensorFlow | TensorFlow Tutorial For...
Introduction to TensorFlow Lite
MLflow: A Platform for Production Machine Learning
Natural language processing and transformer models
Pytorch
PyTorch Python Tutorial | Deep Learning Using PyTorch | Image Classifier Usin...
Introduction to keras
Chapitre 2 hadoop
Cours Big Data Chap4 - Spark
Jenkins Pipeline Tutorial | Jenkins Build And Delivery Pipeline | Jenkins Tut...
NLP using transformers
Introduction to spaCy
Transfer Learning and Fine-tuning Deep Neural Networks
Pre trained language model
BigData_TP2: Design Patterns dans Hadoop
Bighead: Airbnb’s End-to-End Machine Learning Platform with Krishna Puttaswa...
Build an LLM-powered application using LangChain.pdf
BigData_TP1: Initiation à Hadoop et Map-Reduce
Attention Is All You Need
What Is Deep Learning? | Introduction to Deep Learning | Deep Learning Tutori...
Ad

Similar to Introduction to TensorFlow (20)

PDF
Introducing TensorFlow: The game changer in building "intelligent" applications
PDF
Dev fest GDG beja tensorflow presenatation
PPTX
TENSORFLOW liberayin python language.pptx
PDF
Deep learning with TensorFlow
PPTX
Introduction to Tensor Flow-v1.pptx
PDF
Large Scale Deep Learning with TensorFlow
PDF
Machine Learning with TensorFlow 2
PPTX
Tensor Flow for Deep Learning in CSE.pptx
PDF
Overview of TensorFlow For Natural Language Processing
PPTX
Deep Learning with TensorFlow
PPTX
Lecture Note DL&NN Tensorflow.pptx
PPTX
Big data app meetup 2016-06-15
PPTX
Introduction to Machine Learning with TensorFlow
PPTX
Introduction To Tensorflow
PDF
Neural Networks from Scratch - TensorFlow 101
PPTX
Introduction to tensorflow
PDF
Austin,TX Meetup presentation tensorflow final oct 26 2017
PPTX
Hadoop training in mumbai
PPTX
TensorFlow in Context
PDF
Computation graphs - Tensorflow & CNTK
Introducing TensorFlow: The game changer in building "intelligent" applications
Dev fest GDG beja tensorflow presenatation
TENSORFLOW liberayin python language.pptx
Deep learning with TensorFlow
Introduction to Tensor Flow-v1.pptx
Large Scale Deep Learning with TensorFlow
Machine Learning with TensorFlow 2
Tensor Flow for Deep Learning in CSE.pptx
Overview of TensorFlow For Natural Language Processing
Deep Learning with TensorFlow
Lecture Note DL&NN Tensorflow.pptx
Big data app meetup 2016-06-15
Introduction to Machine Learning with TensorFlow
Introduction To Tensorflow
Neural Networks from Scratch - TensorFlow 101
Introduction to tensorflow
Austin,TX Meetup presentation tensorflow final oct 26 2017
Hadoop training in mumbai
TensorFlow in Context
Computation graphs - Tensorflow & CNTK
Ad

Recently uploaded (20)

PDF
Votre score augmente si vous choisissez une catégorie et que vous rédigez une...
PPTX
retention in jsjsksksksnbsndjddjdnFPD.pptx
PPT
Predictive modeling basics in data cleaning process
PPTX
IBA_Chapter_11_Slides_Final_Accessible.pptx
PPTX
SAP 2 completion done . PRESENTATION.pptx
PPTX
Qualitative Qantitative and Mixed Methods.pptx
DOCX
Factor Analysis Word Document Presentation
PDF
annual-report-2024-2025 original latest.
PDF
Business Analytics and business intelligence.pdf
PPTX
QUANTUM_COMPUTING_AND_ITS_POTENTIAL_APPLICATIONS[2].pptx
PPTX
Database Infoormation System (DBIS).pptx
PPTX
AI Strategy room jwfjksfksfjsjsjsjsjfsjfsj
PDF
Microsoft Core Cloud Services powerpoint
PDF
Transcultural that can help you someday.
PPT
ISS -ESG Data flows What is ESG and HowHow
PPTX
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
PDF
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
PPTX
CYBER SECURITY the Next Warefare Tactics
PPTX
STERILIZATION AND DISINFECTION-1.ppthhhbx
PPTX
sac 451hinhgsgshssjsjsjheegdggeegegdggddgeg.pptx
Votre score augmente si vous choisissez une catégorie et que vous rédigez une...
retention in jsjsksksksnbsndjddjdnFPD.pptx
Predictive modeling basics in data cleaning process
IBA_Chapter_11_Slides_Final_Accessible.pptx
SAP 2 completion done . PRESENTATION.pptx
Qualitative Qantitative and Mixed Methods.pptx
Factor Analysis Word Document Presentation
annual-report-2024-2025 original latest.
Business Analytics and business intelligence.pdf
QUANTUM_COMPUTING_AND_ITS_POTENTIAL_APPLICATIONS[2].pptx
Database Infoormation System (DBIS).pptx
AI Strategy room jwfjksfksfjsjsjsjsjfsjfsj
Microsoft Core Cloud Services powerpoint
Transcultural that can help you someday.
ISS -ESG Data flows What is ESG and HowHow
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
CYBER SECURITY the Next Warefare Tactics
STERILIZATION AND DISINFECTION-1.ppthhhbx
sac 451hinhgsgshssjsjsjheegdggeegegdggddgeg.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 - [email protected]
  • 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