SlideShare a Scribd company logo
1 of 35
Catalit LLC
TENSORFLOW 2.0 AND KERAS
Francesco Mosconi
These slides: bit.ly/odsc20190124
Data Weekends
Catalit
Data Science
Zero to
Deep Learning
Catalit LLC
ABOUT US
www.catalit.com
Data Weekends
Catalit
Data Science
Zero to
Deep Learning
www.dataweekends.com bootcamp.zerotodeeplearning.com
Catalit LLC
TODAY
• Changes inTensorflow 2.0
• How it differsTensorflow 1.*
• How it differs from keras.io
Catalit LLC
SOMETIME IN AUGUST 2018 …
Catalit LLC
KEY POINTS
• Public 2.0 design process
• Eager execution
• Remove deprecated APIs & reduce the amount of duplication
• Compatibility and continuity withTensorflow 1.x
• Compatibility with 1.x exported models
• No more tf.contrib
• More platforms and languages
Catalit LLC
TODAY
• Public 2.0 design process
• Eager execution
• Remove deprecated APIs & reduce the amount of duplication
• Compatibility and continuity withTensorflow 1.x
• Compatibility with 1.x exported models
• No more tf.contrib
• More platforms and languages
Catalit LLC
KEY POINTS
• Public 2.0 design process
• Eager execution
• Remove deprecated APIs & reduce the amount of duplication
• Compatibility and continuity withTensorflow 1.x
• Compatibility with 1.x exported models
• No more tf.contrib
• More platforms and languages
Catalit LLC
PUBLIC 2.0 DESIGN PROCESS
https://groups.google.com/a/tensorflow.org/forum/#!forum/discuss
https://github.com/tensorflow/community/blob/master/governance/TF-RFCs.md
https://github.com/tensorflow/community/tree/master/rfcs
Catalit LLC
WHAT IT MEANS FORYOU
• Release date not defined yet

=> rumored forTF Dev Summit (March 6-7, 2019)
• If you’re aTF 1.x developer

=> start updating your code as soon as RFPs are accepted
• There will be a conversion tool from 1.x to 2.0 (won’t be
perfect, but hey…)
Catalit LLC
KEY POINTS
• Public 2.0 design process
• Eager execution
• Remove deprecated APIs & reduce the amount of duplication
• Compatibility and continuity withTensorflow 1.x
• Compatibility with 1.x exported models
• No more tf.contrib
• More platforms and languages
Catalit LLC
EAGER EXECUTION
• Available since late 2017
• Following Pytorch and Chainer
• Imperative
• Define-by-run
• No static graph & session
Catalit LLC
EAGER EXECUTION
• Faster debugging with Python tools
• Dynamic models with Python control flow
• Support for custom and higher-order gradients
Catalit LLC
IS GRAPH GOING AWAY?
• No, you can still define models using the traditional
static graph approach
Catalit LLC
Standard Tensorflow
Catalit LLC
Standard Tensorflow
Eager Execution
Catalit LLC
Standard Tensorflow
Catalit LLC
Standard Tensorflow Eager Execution
Catalit LLC
Catalit LLC
WHAT IT MEANS FORYOU
• Debug like Numpy, scale likeTensorflow
• Easier to build and test custom models
• Slower than static graph mode
Catalit LLC
KEY POINTS
• Public 2.0 design process
• Eager execution
• Remove deprecated APIs & reduce the amount of duplication
• Compatibility and continuity withTensorflow 1.x
• Compatibility with 1.x exported models
• No more tf.contrib
• More platforms and languages
Catalit LLC
MODEL APIS INTF 1.X
• tf.core
• tf.layers
• tf.keras.layers
• tf.estimator.Estimator
• tf.contrib.learn.Estimator
• …
Catalit LLC
MODEL APIS INTF 2.0
• tf.core ====> Same
• tf.layers ====> Deprecated
• tf.keras.layers ====> Primary API
• tf.estimator.Estimator ====> API same, implementation changed to tf.keras
• tf.contrib.learn.Estimator ====> Deprecated
• …
Catalit LLC
MODEL APIS INTF 2.0
• tf.core ====> Same
• tf.layers ====> Deprecated
• tf.keras.layers ====> Primary API
• tf.estimator.Estimator ====> API same, implementation changed to tf.keras
• tf.contrib.learn.Estimator ====> Deprecated
• …
Catalit LLC
TF.KERAS
• What is it?
• How does it work?
• How does it differ from keras.io implementation?
Catalit LLC
WHAT IS KERAS?
https://towardsdatascience.com/deep-learning-framework-power-scores-2018-23607ddf297a
Catalit LLC
WHAT IS KERAS
• Keras is an API specification to design deep learning model
• https://keras.io/

=> independent reference implementation (usingTF or CNTK as backend)
• tf.keras

=>Tensorflow implementation of the same API spec
• Other frameworks implement some version of the API
Catalit LLC
MODEL DEFINITION IN KERAS
• Sequential API
• Functional API
• Model API
Catalit LLC
SEQUENTIAL API
Catalit LLC
SEQUENTIAL API
Catalit LLC
FUNCTIONAL API
Catalit LLC
MODEL API
Catalit LLC
DIFFERENCES
• Support for Eager Execution
• tf.dataVS python data generators
• Model Exporting
• Compatible with Feature Columns
• Compatible with Estimators
Catalit LLC
KEY POINTS
• Public 2.0 design process
• Eager execution
• Remove deprecated APIs & reduce the amount of duplication
• Compatibility and continuity with Tensorflow 1.x
• Compatibility with 1.x exported models
• No more tf.contrib
• More platforms and languages
Catalit LLC
bootcamp.zerotodeeplearning.com
March 25 - 29 San Francisco Bay Area
Catalit LLC
SEEYOU IN MAY …
Francesco Mosconi
@framosconis fm@catalit.com
bootcamp.zerotodeeplearning.com
Data Weekends
Catalit
Data Science
Zero to
Deep Learning

More Related Content

What's hot

Episode 10 - External Services in Salesforce
Episode 10 - External Services in SalesforceEpisode 10 - External Services in Salesforce
Episode 10 - External Services in SalesforceJitendra Zaa
 
How to Build Single Page HTML5 Apps that Scale
How to Build Single Page HTML5 Apps that ScaleHow to Build Single Page HTML5 Apps that Scale
How to Build Single Page HTML5 Apps that ScalePhil Leggetter
 
GraphQL Munich Meetup #1 - How We Use GraphQL At Commercetools
GraphQL Munich Meetup #1 - How We Use GraphQL At CommercetoolsGraphQL Munich Meetup #1 - How We Use GraphQL At Commercetools
GraphQL Munich Meetup #1 - How We Use GraphQL At CommercetoolsNicola Molinari
 
Versioning strategy for a complex internal API (Konstantin Yakushev)
Versioning strategy for a complex internal API (Konstantin Yakushev)Versioning strategy for a complex internal API (Konstantin Yakushev)
Versioning strategy for a complex internal API (Konstantin Yakushev)Nordic APIs
 
Making Angular2 lean and Fast
Making Angular2 lean and FastMaking Angular2 lean and Fast
Making Angular2 lean and FastVinci Rufus
 
Meteor MIT Tech Talk 9/18/14: Designing a New Platform For Modern Apps
Meteor MIT Tech Talk 9/18/14: Designing a New Platform For Modern AppsMeteor MIT Tech Talk 9/18/14: Designing a New Platform For Modern Apps
Meteor MIT Tech Talk 9/18/14: Designing a New Platform For Modern AppsSashko Stubailo
 
Curing the Kafka Blindness
Curing the Kafka BlindnessCuring the Kafka Blindness
Curing the Kafka Blindnessgvetticaden
 
Taking Control of your Data with GraphQL
Taking Control of your Data with GraphQLTaking Control of your Data with GraphQL
Taking Control of your Data with GraphQLVinci Rufus
 
Continuous Integration and Delivery at Shapeways (Matt Boyle)
Continuous Integration and Delivery at Shapeways (Matt Boyle)Continuous Integration and Delivery at Shapeways (Matt Boyle)
Continuous Integration and Delivery at Shapeways (Matt Boyle)Nordic APIs
 
Thorben Lindhauer: Live Coding: Zeebe - Camunda Day San Francisco
Thorben Lindhauer: Live Coding: Zeebe - Camunda Day San FranciscoThorben Lindhauer: Live Coding: Zeebe - Camunda Day San Francisco
Thorben Lindhauer: Live Coding: Zeebe - Camunda Day San Franciscocamunda services GmbH
 
apidays LIVE Paris 2021 - Inside API delivery Pipeline, the checklist! - Fran...
apidays LIVE Paris 2021 - Inside API delivery Pipeline, the checklist! - Fran...apidays LIVE Paris 2021 - Inside API delivery Pipeline, the checklist! - Fran...
apidays LIVE Paris 2021 - Inside API delivery Pipeline, the checklist! - Fran...apidays
 
#SPSToronto 2018 migrate you custom development to the SharePoint Framework
#SPSToronto 2018 migrate you custom development to the SharePoint Framework#SPSToronto 2018 migrate you custom development to the SharePoint Framework
#SPSToronto 2018 migrate you custom development to the SharePoint FrameworkVincent Biret
 
Postman Galaxy Tour: San Francisco - Workshop Presentation
Postman Galaxy Tour: San Francisco -  Workshop PresentationPostman Galaxy Tour: San Francisco -  Workshop Presentation
Postman Galaxy Tour: San Francisco - Workshop PresentationPostman
 
GraphQL across the stack: How everything fits together
GraphQL across the stack: How everything fits togetherGraphQL across the stack: How everything fits together
GraphQL across the stack: How everything fits togetherSashko Stubailo
 
Data Driven API Testing: Best Practices for Real-World Testing Scenarios
Data Driven API Testing: Best Practices for Real-World Testing ScenariosData Driven API Testing: Best Practices for Real-World Testing Scenarios
Data Driven API Testing: Best Practices for Real-World Testing ScenariosSmartBear
 
Component Based UI Architecture - Alex Moldovan
Component Based UI Architecture - Alex MoldovanComponent Based UI Architecture - Alex Moldovan
Component Based UI Architecture - Alex MoldovanITCamp
 
Etech2005
Etech2005Etech2005
Etech2005royans
 

What's hot (20)

Episode 10 - External Services in Salesforce
Episode 10 - External Services in SalesforceEpisode 10 - External Services in Salesforce
Episode 10 - External Services in Salesforce
 
GraphQL.net
GraphQL.netGraphQL.net
GraphQL.net
 
How to Build Single Page HTML5 Apps that Scale
How to Build Single Page HTML5 Apps that ScaleHow to Build Single Page HTML5 Apps that Scale
How to Build Single Page HTML5 Apps that Scale
 
GraphQL Munich Meetup #1 - How We Use GraphQL At Commercetools
GraphQL Munich Meetup #1 - How We Use GraphQL At CommercetoolsGraphQL Munich Meetup #1 - How We Use GraphQL At Commercetools
GraphQL Munich Meetup #1 - How We Use GraphQL At Commercetools
 
Versioning strategy for a complex internal API (Konstantin Yakushev)
Versioning strategy for a complex internal API (Konstantin Yakushev)Versioning strategy for a complex internal API (Konstantin Yakushev)
Versioning strategy for a complex internal API (Konstantin Yakushev)
 
Making Angular2 lean and Fast
Making Angular2 lean and FastMaking Angular2 lean and Fast
Making Angular2 lean and Fast
 
Meteor MIT Tech Talk 9/18/14: Designing a New Platform For Modern Apps
Meteor MIT Tech Talk 9/18/14: Designing a New Platform For Modern AppsMeteor MIT Tech Talk 9/18/14: Designing a New Platform For Modern Apps
Meteor MIT Tech Talk 9/18/14: Designing a New Platform For Modern Apps
 
GraphQL Europe Recap
GraphQL Europe RecapGraphQL Europe Recap
GraphQL Europe Recap
 
Curing the Kafka Blindness
Curing the Kafka BlindnessCuring the Kafka Blindness
Curing the Kafka Blindness
 
Taking Control of your Data with GraphQL
Taking Control of your Data with GraphQLTaking Control of your Data with GraphQL
Taking Control of your Data with GraphQL
 
Continuous Integration and Delivery at Shapeways (Matt Boyle)
Continuous Integration and Delivery at Shapeways (Matt Boyle)Continuous Integration and Delivery at Shapeways (Matt Boyle)
Continuous Integration and Delivery at Shapeways (Matt Boyle)
 
Thorben Lindhauer: Live Coding: Zeebe - Camunda Day San Francisco
Thorben Lindhauer: Live Coding: Zeebe - Camunda Day San FranciscoThorben Lindhauer: Live Coding: Zeebe - Camunda Day San Francisco
Thorben Lindhauer: Live Coding: Zeebe - Camunda Day San Francisco
 
apidays LIVE Paris 2021 - Inside API delivery Pipeline, the checklist! - Fran...
apidays LIVE Paris 2021 - Inside API delivery Pipeline, the checklist! - Fran...apidays LIVE Paris 2021 - Inside API delivery Pipeline, the checklist! - Fran...
apidays LIVE Paris 2021 - Inside API delivery Pipeline, the checklist! - Fran...
 
#SPSToronto 2018 migrate you custom development to the SharePoint Framework
#SPSToronto 2018 migrate you custom development to the SharePoint Framework#SPSToronto 2018 migrate you custom development to the SharePoint Framework
#SPSToronto 2018 migrate you custom development to the SharePoint Framework
 
Postman Galaxy Tour: San Francisco - Workshop Presentation
Postman Galaxy Tour: San Francisco -  Workshop PresentationPostman Galaxy Tour: San Francisco -  Workshop Presentation
Postman Galaxy Tour: San Francisco - Workshop Presentation
 
GraphQL across the stack: How everything fits together
GraphQL across the stack: How everything fits togetherGraphQL across the stack: How everything fits together
GraphQL across the stack: How everything fits together
 
Selenium-4
Selenium-4Selenium-4
Selenium-4
 
Data Driven API Testing: Best Practices for Real-World Testing Scenarios
Data Driven API Testing: Best Practices for Real-World Testing ScenariosData Driven API Testing: Best Practices for Real-World Testing Scenarios
Data Driven API Testing: Best Practices for Real-World Testing Scenarios
 
Component Based UI Architecture - Alex Moldovan
Component Based UI Architecture - Alex MoldovanComponent Based UI Architecture - Alex Moldovan
Component Based UI Architecture - Alex Moldovan
 
Etech2005
Etech2005Etech2005
Etech2005
 

Similar to Tensorflow 2.0 and Keras ODSC Jan 2019

Full Stack DevOps - Ready To Go
Full Stack DevOps - Ready To GoFull Stack DevOps - Ready To Go
Full Stack DevOps - Ready To GoKallex
 
KUBEDAY - JAPAN 2022 - Building FaaS Platforms.pdf
KUBEDAY - JAPAN  2022 - Building FaaS Platforms.pdfKUBEDAY - JAPAN  2022 - Building FaaS Platforms.pdf
KUBEDAY - JAPAN 2022 - Building FaaS Platforms.pdfMauricio (Salaboy) Salatino
 
Whats new in Azure Functions and .NET 6.pptx
Whats new in Azure Functions and .NET 6.pptxWhats new in Azure Functions and .NET 6.pptx
Whats new in Azure Functions and .NET 6.pptxCallon Campbell
 
Appcelerator Alloy Deep Dive - tiTokyo 2013
Appcelerator Alloy Deep Dive - tiTokyo 2013Appcelerator Alloy Deep Dive - tiTokyo 2013
Appcelerator Alloy Deep Dive - tiTokyo 2013ralcocer
 
Appcelerator Alloy Deep Dive - tiTokyo 2013
Appcelerator Alloy Deep Dive - tiTokyo 2013Appcelerator Alloy Deep Dive - tiTokyo 2013
Appcelerator Alloy Deep Dive - tiTokyo 2013Ricardo Alcocer
 
SQL Server DevOps Jumpstart
SQL Server DevOps JumpstartSQL Server DevOps Jumpstart
SQL Server DevOps JumpstartOri Donner
 
Developing for the Atlassian Ecosystem
Developing for the Atlassian EcosystemDeveloping for the Atlassian Ecosystem
Developing for the Atlassian EcosystemAlex Henderson
 
Herding a Cat with Antlers - Catalyst 5.80
Herding a Cat with Antlers - Catalyst 5.80Herding a Cat with Antlers - Catalyst 5.80
Herding a Cat with Antlers - Catalyst 5.80Tomas Doran
 
VA Smalltalk Update
VA Smalltalk UpdateVA Smalltalk Update
VA Smalltalk UpdateESUG
 
DefCore: The Interoperability Standard for OpenStack
DefCore: The Interoperability Standard for OpenStackDefCore: The Interoperability Standard for OpenStack
DefCore: The Interoperability Standard for OpenStackMark Voelker
 
A Taste of Pharo 7.0
A Taste of Pharo 7.0A Taste of Pharo 7.0
A Taste of Pharo 7.0ESUG
 
GCP Deployment- Vertex AI
GCP Deployment- Vertex AIGCP Deployment- Vertex AI
GCP Deployment- Vertex AITriloki Gupta
 
Office add ins community call-January 2019
Office add ins community call-January 2019Office add ins community call-January 2019
Office add ins community call-January 2019Microsoft 365 Developer
 
Introduction to TensorFlow Lite
Introduction to TensorFlow Lite Introduction to TensorFlow Lite
Introduction to TensorFlow Lite Koan-Sin Tan
 

Similar to Tensorflow 2.0 and Keras ODSC Jan 2019 (20)

Stackato
StackatoStackato
Stackato
 
Stackato v6
Stackato v6Stackato v6
Stackato v6
 
Full Stack DevOps - Ready To Go
Full Stack DevOps - Ready To GoFull Stack DevOps - Ready To Go
Full Stack DevOps - Ready To Go
 
KUBEDAY - JAPAN 2022 - Building FaaS Platforms.pdf
KUBEDAY - JAPAN  2022 - Building FaaS Platforms.pdfKUBEDAY - JAPAN  2022 - Building FaaS Platforms.pdf
KUBEDAY - JAPAN 2022 - Building FaaS Platforms.pdf
 
Whats new in Azure Functions and .NET 6.pptx
Whats new in Azure Functions and .NET 6.pptxWhats new in Azure Functions and .NET 6.pptx
Whats new in Azure Functions and .NET 6.pptx
 
Stackato v4
Stackato v4Stackato v4
Stackato v4
 
Stackato v3
Stackato v3Stackato v3
Stackato v3
 
Stackato v5
Stackato v5Stackato v5
Stackato v5
 
Appcelerator Alloy Deep Dive - tiTokyo 2013
Appcelerator Alloy Deep Dive - tiTokyo 2013Appcelerator Alloy Deep Dive - tiTokyo 2013
Appcelerator Alloy Deep Dive - tiTokyo 2013
 
Appcelerator Alloy Deep Dive - tiTokyo 2013
Appcelerator Alloy Deep Dive - tiTokyo 2013Appcelerator Alloy Deep Dive - tiTokyo 2013
Appcelerator Alloy Deep Dive - tiTokyo 2013
 
Stackato v2
Stackato v2Stackato v2
Stackato v2
 
SQL Server DevOps Jumpstart
SQL Server DevOps JumpstartSQL Server DevOps Jumpstart
SQL Server DevOps Jumpstart
 
Developing for the Atlassian Ecosystem
Developing for the Atlassian EcosystemDeveloping for the Atlassian Ecosystem
Developing for the Atlassian Ecosystem
 
Herding a Cat with Antlers - Catalyst 5.80
Herding a Cat with Antlers - Catalyst 5.80Herding a Cat with Antlers - Catalyst 5.80
Herding a Cat with Antlers - Catalyst 5.80
 
VA Smalltalk Update
VA Smalltalk UpdateVA Smalltalk Update
VA Smalltalk Update
 
DefCore: The Interoperability Standard for OpenStack
DefCore: The Interoperability Standard for OpenStackDefCore: The Interoperability Standard for OpenStack
DefCore: The Interoperability Standard for OpenStack
 
A Taste of Pharo 7.0
A Taste of Pharo 7.0A Taste of Pharo 7.0
A Taste of Pharo 7.0
 
GCP Deployment- Vertex AI
GCP Deployment- Vertex AIGCP Deployment- Vertex AI
GCP Deployment- Vertex AI
 
Office add ins community call-January 2019
Office add ins community call-January 2019Office add ins community call-January 2019
Office add ins community call-January 2019
 
Introduction to TensorFlow Lite
Introduction to TensorFlow Lite Introduction to TensorFlow Lite
Introduction to TensorFlow Lite
 

More from Francesco Mosconi

Python for Machine Learning and Deep Learning
Python for Machine Learning and Deep LearningPython for Machine Learning and Deep Learning
Python for Machine Learning and Deep LearningFrancesco Mosconi
 
Intro to deep learning Python Meetup
Intro to deep learning Python MeetupIntro to deep learning Python Meetup
Intro to deep learning Python MeetupFrancesco Mosconi
 
Advanced Keras / Global Artificial Intelligence Conference / Santa Clara 2018
Advanced Keras / Global Artificial Intelligence Conference / Santa Clara 2018Advanced Keras / Global Artificial Intelligence Conference / Santa Clara 2018
Advanced Keras / Global Artificial Intelligence Conference / Santa Clara 2018Francesco Mosconi
 
Introduction to Keras / Global Artificial Intelligence Conference / Santa Cla...
Introduction to Keras / Global Artificial Intelligence Conference / Santa Cla...Introduction to Keras / Global Artificial Intelligence Conference / Santa Cla...
Introduction to Keras / Global Artificial Intelligence Conference / Santa Cla...Francesco Mosconi
 
Machine Learning: Techniques, Best Practices and Practical Application
Machine Learning: Techniques, Best Practices and Practical ApplicationMachine Learning: Techniques, Best Practices and Practical Application
Machine Learning: Techniques, Best Practices and Practical ApplicationFrancesco Mosconi
 
Python libraries for Machine Learning and Deep Learning
Python libraries for Machine Learning and Deep LearningPython libraries for Machine Learning and Deep Learning
Python libraries for Machine Learning and Deep LearningFrancesco Mosconi
 
Intro to scikit learn may 2017
Intro to scikit learn may 2017Intro to scikit learn may 2017
Intro to scikit learn may 2017Francesco Mosconi
 
Intro to Deep Learning April 2017
Intro to Deep Learning April 2017Intro to Deep Learning April 2017
Intro to Deep Learning April 2017Francesco Mosconi
 

More from Francesco Mosconi (10)

Python for Machine Learning and Deep Learning
Python for Machine Learning and Deep LearningPython for Machine Learning and Deep Learning
Python for Machine Learning and Deep Learning
 
Image Similarity Search
Image Similarity SearchImage Similarity Search
Image Similarity Search
 
Intro to deep learning Python Meetup
Intro to deep learning Python MeetupIntro to deep learning Python Meetup
Intro to deep learning Python Meetup
 
Advanced Keras / Global Artificial Intelligence Conference / Santa Clara 2018
Advanced Keras / Global Artificial Intelligence Conference / Santa Clara 2018Advanced Keras / Global Artificial Intelligence Conference / Santa Clara 2018
Advanced Keras / Global Artificial Intelligence Conference / Santa Clara 2018
 
Introduction to Keras / Global Artificial Intelligence Conference / Santa Cla...
Introduction to Keras / Global Artificial Intelligence Conference / Santa Cla...Introduction to Keras / Global Artificial Intelligence Conference / Santa Cla...
Introduction to Keras / Global Artificial Intelligence Conference / Santa Cla...
 
Advanced Keras
Advanced KerasAdvanced Keras
Advanced Keras
 
Machine Learning: Techniques, Best Practices and Practical Application
Machine Learning: Techniques, Best Practices and Practical ApplicationMachine Learning: Techniques, Best Practices and Practical Application
Machine Learning: Techniques, Best Practices and Practical Application
 
Python libraries for Machine Learning and Deep Learning
Python libraries for Machine Learning and Deep LearningPython libraries for Machine Learning and Deep Learning
Python libraries for Machine Learning and Deep Learning
 
Intro to scikit learn may 2017
Intro to scikit learn may 2017Intro to scikit learn may 2017
Intro to scikit learn may 2017
 
Intro to Deep Learning April 2017
Intro to Deep Learning April 2017Intro to Deep Learning April 2017
Intro to Deep Learning April 2017
 

Recently uploaded

Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 

Recently uploaded (20)

Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 

Tensorflow 2.0 and Keras ODSC Jan 2019

  • 1. Catalit LLC TENSORFLOW 2.0 AND KERAS Francesco Mosconi These slides: bit.ly/odsc20190124 Data Weekends Catalit Data Science Zero to Deep Learning
  • 2. Catalit LLC ABOUT US www.catalit.com Data Weekends Catalit Data Science Zero to Deep Learning www.dataweekends.com bootcamp.zerotodeeplearning.com
  • 3. Catalit LLC TODAY • Changes inTensorflow 2.0 • How it differsTensorflow 1.* • How it differs from keras.io
  • 4. Catalit LLC SOMETIME IN AUGUST 2018 …
  • 5. Catalit LLC KEY POINTS • Public 2.0 design process • Eager execution • Remove deprecated APIs & reduce the amount of duplication • Compatibility and continuity withTensorflow 1.x • Compatibility with 1.x exported models • No more tf.contrib • More platforms and languages
  • 6. Catalit LLC TODAY • Public 2.0 design process • Eager execution • Remove deprecated APIs & reduce the amount of duplication • Compatibility and continuity withTensorflow 1.x • Compatibility with 1.x exported models • No more tf.contrib • More platforms and languages
  • 7. Catalit LLC KEY POINTS • Public 2.0 design process • Eager execution • Remove deprecated APIs & reduce the amount of duplication • Compatibility and continuity withTensorflow 1.x • Compatibility with 1.x exported models • No more tf.contrib • More platforms and languages
  • 8. Catalit LLC PUBLIC 2.0 DESIGN PROCESS https://groups.google.com/a/tensorflow.org/forum/#!forum/discuss https://github.com/tensorflow/community/blob/master/governance/TF-RFCs.md https://github.com/tensorflow/community/tree/master/rfcs
  • 9. Catalit LLC WHAT IT MEANS FORYOU • Release date not defined yet
 => rumored forTF Dev Summit (March 6-7, 2019) • If you’re aTF 1.x developer
 => start updating your code as soon as RFPs are accepted • There will be a conversion tool from 1.x to 2.0 (won’t be perfect, but hey…)
  • 10. Catalit LLC KEY POINTS • Public 2.0 design process • Eager execution • Remove deprecated APIs & reduce the amount of duplication • Compatibility and continuity withTensorflow 1.x • Compatibility with 1.x exported models • No more tf.contrib • More platforms and languages
  • 11. Catalit LLC EAGER EXECUTION • Available since late 2017 • Following Pytorch and Chainer • Imperative • Define-by-run • No static graph & session
  • 12. Catalit LLC EAGER EXECUTION • Faster debugging with Python tools • Dynamic models with Python control flow • Support for custom and higher-order gradients
  • 13. Catalit LLC IS GRAPH GOING AWAY? • No, you can still define models using the traditional static graph approach
  • 19. Catalit LLC WHAT IT MEANS FORYOU • Debug like Numpy, scale likeTensorflow • Easier to build and test custom models • Slower than static graph mode
  • 20. Catalit LLC KEY POINTS • Public 2.0 design process • Eager execution • Remove deprecated APIs & reduce the amount of duplication • Compatibility and continuity withTensorflow 1.x • Compatibility with 1.x exported models • No more tf.contrib • More platforms and languages
  • 21. Catalit LLC MODEL APIS INTF 1.X • tf.core • tf.layers • tf.keras.layers • tf.estimator.Estimator • tf.contrib.learn.Estimator • …
  • 22. Catalit LLC MODEL APIS INTF 2.0 • tf.core ====> Same • tf.layers ====> Deprecated • tf.keras.layers ====> Primary API • tf.estimator.Estimator ====> API same, implementation changed to tf.keras • tf.contrib.learn.Estimator ====> Deprecated • …
  • 23. Catalit LLC MODEL APIS INTF 2.0 • tf.core ====> Same • tf.layers ====> Deprecated • tf.keras.layers ====> Primary API • tf.estimator.Estimator ====> API same, implementation changed to tf.keras • tf.contrib.learn.Estimator ====> Deprecated • …
  • 24. Catalit LLC TF.KERAS • What is it? • How does it work? • How does it differ from keras.io implementation?
  • 25. Catalit LLC WHAT IS KERAS? https://towardsdatascience.com/deep-learning-framework-power-scores-2018-23607ddf297a
  • 26. Catalit LLC WHAT IS KERAS • Keras is an API specification to design deep learning model • https://keras.io/
 => independent reference implementation (usingTF or CNTK as backend) • tf.keras
 =>Tensorflow implementation of the same API spec • Other frameworks implement some version of the API
  • 27. Catalit LLC MODEL DEFINITION IN KERAS • Sequential API • Functional API • Model API
  • 32. Catalit LLC DIFFERENCES • Support for Eager Execution • tf.dataVS python data generators • Model Exporting • Compatible with Feature Columns • Compatible with Estimators
  • 33. Catalit LLC KEY POINTS • Public 2.0 design process • Eager execution • Remove deprecated APIs & reduce the amount of duplication • Compatibility and continuity with Tensorflow 1.x • Compatibility with 1.x exported models • No more tf.contrib • More platforms and languages
  • 35. Catalit LLC SEEYOU IN MAY … Francesco Mosconi @framosconis fm@catalit.com bootcamp.zerotodeeplearning.com Data Weekends Catalit Data Science Zero to Deep Learning