Webinar on Tensorflow 2.0 and Keras in preparation to the ODSC conference in May 2019. Cover what's new in the upcoming Tensorflow 2.0 release and the differences with Keras.io
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
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
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