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

Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 

Recently uploaded (20)

Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 

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