SlideShare a Scribd company logo
Tensorflow
TensorFlow
• Purpose: Machine Learning & deep Learning research
• Open Source (By Google)
• Numerical Computation using data flow graphs
Agenda
• Artificial Intelligence
• Machine learning
• Deep Learning
• Why would you use Deep Learning?
• TensorFlow
o TensorFlow Story
o Tensorflow Model
o Data flow graphs
o Architecture
o Portable & scalable
o Programming model
o Companies using TensorFlow
Tensorflow
AI & ML & DL
ArtificialIntelligence
• AI or artificial intelligence : is the simulation of human
intelligence processes by machines, especially computer
systems.
• These processes include learning (the information and
rules for using the information).
• reasoning (using the rules to reach approximate or
definite conclusions).
Machine learning
• Machine learning is a type of artificial intelligence (AI)
that provides computers with the ability to learn without
being explicitly programmed.
• Machine learning focuses on
the development of computer
programs that can change
when exposed to new data.
Deep Learning
• Deep Learning is a new area of Machine Learning
research, which has been introduced with the objective
of moving Machine Learning closer to one of its original
goals
• that is concerned with emulating the learning approach
that human beings use to gain certain types of
knowledge.
Why
would you use
Deep Learning?
Gaming
Text Recognition
Translation
Image Recognition
Object recognition
Smart Email Reply
Voice recognition
Self- driving
Android Camera
Demo
• Uses a Google Inception model to classify camera
frames in real-time, displaying the top results in an overlay
on the camera image.
Tensorflow
TensorFlow
• TensorFlow™ is an open source software library for
numerical computation and machine learning.
• Especially useful for Deep learning
• For research and production
• Developed by Google Brain Team
TensorFlow Story
• TensorFlow was originally developed by researchers and
engineers working on the Google Brain Team within
Google's Machine Intelligence research organization for
the purposes of conducting machine learning and deep
neural networks research.
• Most Most popular machine learning library.
o Over 32,000 downlowds
Tensorflow Model
• Big idea: Express a numeric computation as a graph.
• Nodes = Mathematical Operations
o Nodes in the graph represent mathematical operations,
• Data Edges = Multi-Dimensional Arrays
(Tensor)
o communicated between them
• Data (Tensors) flow through the graph
Data flow graphs
• Computation is defined
as directed a cyclic graph (GDA)
o Optimize an objective function.
• Graph is defined in high-level
Language (python, C++,Go)
• Graph is compiled and optimized
• Graph is executed (parts or fully)
On level devices (CPU, GPU).
Architecture
• Core in C++
• Front end code python and C++.
• The flexible architecture allows you to deploy
computation to one or more CPUs or GPUs
Portable & scalable
• deploy computation in a desktop, server, or mobile
device with a single API
Programming model
1.Build a graph
a. Graph contains parameter specifications, model architecture, optimization
process, …
b. Somewhere between 5 and 5000 lines
2.Initialize a session
3.Fetch and feed data with Session.run
a. Compilation, optimization, etc. happens at this step — you probably won’t
notice
Programming model
(Build a graph)
• Variables are 0-ary stateful
nodes which output their
current value.
• Placeholders are 0-ary
nodes whose value is fed in at
execution time.
• Mathematical operations:
o MatMul: Multiply two matrix
values.
o Add: Add elementwise (with
broadcasting).
o ReLU: Activate with elementwise
rectified linear function.
Programming model
(Build a graph)
• import tensorflow as tf
b = tf.Variable(tf.zeros((100,)))
W=tf.Variable(tf.random_uniform((784,
100), -1, 1))
x = tf.placeholder(tf.float32, (None,
784))
h_i = tf.nn.relu(tf.matmul(x, W) + b)
Programming model
(Initialize & Run session)
• a session: a binding to a particular execution context
sess.run(fetches, feeds)
Fetches: List of graph nodes. Return the outputs of these
nodes.
Feeds: Dictionary mapping from graph nodes to concrete
values. Specifies the value of each graph node given in
the dictionary.
Programming model
(Build a graph)
import numpy as np
import tensorflow as tf
b = tf.Variable(tf.zeros((100,)))
W = tf.Variable(tf.random_uniform((784, 100),
-1, 1))
x = tf.placeholder(tf.float32, (None, 784))
h_i = tf.nn.relu(tf.matmul(x, W) + b)
-----Initial and Run Session-------
sess = tf.Session()
sess.run(tf.initialize_all_variables())
sess.run(h_i, {x: np.random.random(64, 784)})
Companies using
TensorFlow
https://www.facebook.com/WTM.Cairo/
Engmarwaayad@gmail.com
https://eg.linkedin.com/in/marwa-ayad-mohamed-
0a405215

More Related Content

PPTX
What is TensorFlow? | Introduction to TensorFlow | TensorFlow Tutorial For Be...
PDF
Introduction to TensorFlow
PDF
Introduction to Deep Learning, Keras, and TensorFlow
PPTX
Ai vs machine learning vs deep learning
PDF
TensorFlow and Keras: An Overview
PDF
TensorFlow
PDF
Introduction to TensorFlow 2.0
ODP
Tensorflow for Beginners
What is TensorFlow? | Introduction to TensorFlow | TensorFlow Tutorial For Be...
Introduction to TensorFlow
Introduction to Deep Learning, Keras, and TensorFlow
Ai vs machine learning vs deep learning
TensorFlow and Keras: An Overview
TensorFlow
Introduction to TensorFlow 2.0
Tensorflow for Beginners

What's hot (20)

PPTX
Introduction to deep learning
PDF
AI Vs ML Vs DL PowerPoint Presentation Slide Templates Complete Deck
PDF
ChatGPT: Le bon la brute et le changement
PPTX
Introduction to Machine Learning with TensorFlow
PDF
머신러닝(딥러닝 요약)
PDF
Introduction To TensorFlow
PPTX
알아두면 쓸데있는 신비한 딥러닝 이야기
PDF
Tensorflow presentation
PPTX
Lesson 1 intro to ai
PDF
Introduction to Deep Learning
PDF
Deep Learning - The Past, Present and Future of Artificial Intelligence
PPTX
Artificial Intelligence, Machine Learning and Deep Learning
PPTX
KERAS Python Tutorial
PPTX
Deep learning with tensorflow
PPT
Deep learning ppt
PDF
Landscape of AI/ML in 2023
PDF
Deep Learning - Convolutional Neural Networks
PDF
인공지능개론 (머신러닝 중심)
PDF
Types Of Artificial Intelligence | Edureka
PDF
The current state of generative AI
Introduction to deep learning
AI Vs ML Vs DL PowerPoint Presentation Slide Templates Complete Deck
ChatGPT: Le bon la brute et le changement
Introduction to Machine Learning with TensorFlow
머신러닝(딥러닝 요약)
Introduction To TensorFlow
알아두면 쓸데있는 신비한 딥러닝 이야기
Tensorflow presentation
Lesson 1 intro to ai
Introduction to Deep Learning
Deep Learning - The Past, Present and Future of Artificial Intelligence
Artificial Intelligence, Machine Learning and Deep Learning
KERAS Python Tutorial
Deep learning with tensorflow
Deep learning ppt
Landscape of AI/ML in 2023
Deep Learning - Convolutional Neural Networks
인공지능개론 (머신러닝 중심)
Types Of Artificial Intelligence | Edureka
The current state of generative AI
Ad

Viewers also liked (20)

PDF
GDG-Shanghai 2017 TensorFlow Summit Recap
PPTX
Tensorflow windows installation
PDF
Google Dev Summit Extended Seoul - TensorFlow: Tensorboard & Keras
PDF
Large Scale Deep Learning with TensorFlow
PDF
TensorFlow Dev Summit 2017 요약
PDF
TensorFlow - La IA detrás de Google
PDF
Clipper: A Low-Latency Online Prediction Serving System: Spark Summit East ta...
PDF
Skymind & Deeplearning4j: Deep Learning for the Enterprise
PPTX
Tensorflow internal
PDF
Machine learning and TensorFlow
PDF
Distributed Real-Time Stream Processing: Why and How: Spark Summit East talk ...
PPTX
Neural Networks with Google TensorFlow
PDF
Google TensorFlow Tutorial
PPTX
Building Deep Learning Workflows with DL4J
PPTX
Tensorflow - Intro (2017)
PDF
Deep Learning Use Cases - Data Science Pop-up Seattle
PDF
Introducing TensorFlow: The game changer in building "intelligent" applications
PDF
Cortana Analytics Workshop: Cortana Analytics -- Security, Privacy & Compliance
PDF
Deep Learning for Speech Recognition in Cortana at AI NEXT Conference
PDF
Enabling Cognitive Workloads on the Cloud: GPUs with Mesos, Docker and Marath...
GDG-Shanghai 2017 TensorFlow Summit Recap
Tensorflow windows installation
Google Dev Summit Extended Seoul - TensorFlow: Tensorboard & Keras
Large Scale Deep Learning with TensorFlow
TensorFlow Dev Summit 2017 요약
TensorFlow - La IA detrás de Google
Clipper: A Low-Latency Online Prediction Serving System: Spark Summit East ta...
Skymind & Deeplearning4j: Deep Learning for the Enterprise
Tensorflow internal
Machine learning and TensorFlow
Distributed Real-Time Stream Processing: Why and How: Spark Summit East talk ...
Neural Networks with Google TensorFlow
Google TensorFlow Tutorial
Building Deep Learning Workflows with DL4J
Tensorflow - Intro (2017)
Deep Learning Use Cases - Data Science Pop-up Seattle
Introducing TensorFlow: The game changer in building "intelligent" applications
Cortana Analytics Workshop: Cortana Analytics -- Security, Privacy & Compliance
Deep Learning for Speech Recognition in Cortana at AI NEXT Conference
Enabling Cognitive Workloads on the Cloud: GPUs with Mesos, Docker and Marath...
Ad

Similar to Tensorflow (20)

PPTX
2017 arab wic marwa ayad machine learning
PPTX
Introduction to Tensor Flow-v1.pptx
PDF
Machine Intelligence at Google Scale: TensorFlow
PDF
Machine Learning with TensorFlow 2
PDF
Advanced Spark and TensorFlow Meetup May 26, 2016
PDF
Persian MNIST in 5 Minutes
PDF
Natural language processing open seminar For Tensorflow usage
PPTX
Build a Neural Network for ITSM with TensorFlow
PPTX
Build a simple image recognition system with tensor flow
PPTX
Meetup tensorframes
PDF
Artificial Intelligence and Deep Learning in Azure, CNTK and Tensorflow
PDF
Introduction to TensorFlow
PDF
Deep Learning Introduction - WeCloudData
PDF
ML in Android
PPTX
AI - To get an overview
PDF
Standardizing on a single N-dimensional array API for Python
PPTX
Lecture Note DL&NN Tensorflow.pptx
PPT
IT_Tools_in_Research.ppt
PPTX
Tensor flow
2017 arab wic marwa ayad machine learning
Introduction to Tensor Flow-v1.pptx
Machine Intelligence at Google Scale: TensorFlow
Machine Learning with TensorFlow 2
Advanced Spark and TensorFlow Meetup May 26, 2016
Persian MNIST in 5 Minutes
Natural language processing open seminar For Tensorflow usage
Build a Neural Network for ITSM with TensorFlow
Build a simple image recognition system with tensor flow
Meetup tensorframes
Artificial Intelligence and Deep Learning in Azure, CNTK and Tensorflow
Introduction to TensorFlow
Deep Learning Introduction - WeCloudData
ML in Android
AI - To get an overview
Standardizing on a single N-dimensional array API for Python
Lecture Note DL&NN Tensorflow.pptx
IT_Tools_in_Research.ppt
Tensor flow

More from marwa Ayad Mohamed (7)

PPTX
PPTX
software testing
PPTX
Front end development gurant
PPTX
Front end development session1
PPTX
Mobile gpu cloud computing
PPTX
Create first-web application-googleappengine
PDF
 Introduction google cloud platform
software testing
Front end development gurant
Front end development session1
Mobile gpu cloud computing
Create first-web application-googleappengine
 Introduction google cloud platform

Recently uploaded (20)

PPTX
Sustainable Sites - Green Building Construction
PPTX
Welding lecture in detail for understanding
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
Lecture Notes Electrical Wiring System Components
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PDF
Well-logging-methods_new................
PDF
Arduino robotics embedded978-1-4302-3184-4.pdf
PPT
Project quality management in manufacturing
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
Construction Project Organization Group 2.pptx
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
Digital Logic Computer Design lecture notes
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
UNIT 4 Total Quality Management .pptx
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
Sustainable Sites - Green Building Construction
Welding lecture in detail for understanding
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
Lecture Notes Electrical Wiring System Components
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Well-logging-methods_new................
Arduino robotics embedded978-1-4302-3184-4.pdf
Project quality management in manufacturing
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Construction Project Organization Group 2.pptx
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Digital Logic Computer Design lecture notes
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Internet of Things (IOT) - A guide to understanding
UNIT 4 Total Quality Management .pptx
Model Code of Practice - Construction Work - 21102022 .pdf

Tensorflow

  • 2. TensorFlow • Purpose: Machine Learning & deep Learning research • Open Source (By Google) • Numerical Computation using data flow graphs
  • 3. Agenda • Artificial Intelligence • Machine learning • Deep Learning • Why would you use Deep Learning? • TensorFlow o TensorFlow Story o Tensorflow Model o Data flow graphs o Architecture o Portable & scalable o Programming model o Companies using TensorFlow
  • 5. AI & ML & DL
  • 6. ArtificialIntelligence • AI or artificial intelligence : is the simulation of human intelligence processes by machines, especially computer systems. • These processes include learning (the information and rules for using the information). • reasoning (using the rules to reach approximate or definite conclusions).
  • 7. Machine learning • Machine learning is a type of artificial intelligence (AI) that provides computers with the ability to learn without being explicitly programmed. • Machine learning focuses on the development of computer programs that can change when exposed to new data.
  • 8. Deep Learning • Deep Learning is a new area of Machine Learning research, which has been introduced with the objective of moving Machine Learning closer to one of its original goals • that is concerned with emulating the learning approach that human beings use to gain certain types of knowledge.
  • 17. Android Camera Demo • Uses a Google Inception model to classify camera frames in real-time, displaying the top results in an overlay on the camera image.
  • 19. TensorFlow • TensorFlow™ is an open source software library for numerical computation and machine learning. • Especially useful for Deep learning • For research and production • Developed by Google Brain Team
  • 20. TensorFlow Story • TensorFlow was originally developed by researchers and engineers working on the Google Brain Team within Google's Machine Intelligence research organization for the purposes of conducting machine learning and deep neural networks research. • Most Most popular machine learning library. o Over 32,000 downlowds
  • 21. Tensorflow Model • Big idea: Express a numeric computation as a graph. • Nodes = Mathematical Operations o Nodes in the graph represent mathematical operations, • Data Edges = Multi-Dimensional Arrays (Tensor) o communicated between them • Data (Tensors) flow through the graph
  • 22. Data flow graphs • Computation is defined as directed a cyclic graph (GDA) o Optimize an objective function. • Graph is defined in high-level Language (python, C++,Go) • Graph is compiled and optimized • Graph is executed (parts or fully) On level devices (CPU, GPU).
  • 23. Architecture • Core in C++ • Front end code python and C++. • The flexible architecture allows you to deploy computation to one or more CPUs or GPUs
  • 24. Portable & scalable • deploy computation in a desktop, server, or mobile device with a single API
  • 25. Programming model 1.Build a graph a. Graph contains parameter specifications, model architecture, optimization process, … b. Somewhere between 5 and 5000 lines 2.Initialize a session 3.Fetch and feed data with Session.run a. Compilation, optimization, etc. happens at this step — you probably won’t notice
  • 26. Programming model (Build a graph) • Variables are 0-ary stateful nodes which output their current value. • Placeholders are 0-ary nodes whose value is fed in at execution time. • Mathematical operations: o MatMul: Multiply two matrix values. o Add: Add elementwise (with broadcasting). o ReLU: Activate with elementwise rectified linear function.
  • 27. Programming model (Build a graph) • import tensorflow as tf b = tf.Variable(tf.zeros((100,))) W=tf.Variable(tf.random_uniform((784, 100), -1, 1)) x = tf.placeholder(tf.float32, (None, 784)) h_i = tf.nn.relu(tf.matmul(x, W) + b)
  • 28. Programming model (Initialize & Run session) • a session: a binding to a particular execution context sess.run(fetches, feeds) Fetches: List of graph nodes. Return the outputs of these nodes. Feeds: Dictionary mapping from graph nodes to concrete values. Specifies the value of each graph node given in the dictionary.
  • 29. Programming model (Build a graph) import numpy as np import tensorflow as tf b = tf.Variable(tf.zeros((100,))) W = tf.Variable(tf.random_uniform((784, 100), -1, 1)) x = tf.placeholder(tf.float32, (None, 784)) h_i = tf.nn.relu(tf.matmul(x, W) + b) -----Initial and Run Session------- sess = tf.Session() sess.run(tf.initialize_all_variables()) sess.run(h_i, {x: np.random.random(64, 784)})