09.05.2023 Views

pdfcoffee

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 1

Figure 2: Google Trends for various deep learning projects

What is Keras?

Keras is a beautiful API for composing building blocks to create and train deep

learning models. Keras can be integrated with multiple deep learning engines

including Google TensorFlow, Microsoft CNTK, Amazon MxNet, and Theano.

Starting with TensorFlow 2.0, Keras has been adopted as the standard high-level

API, largely simplifying coding and making programming more intuitive.

What are the most important changes

in TensorFlow 2.0?

There are many changes in TensorFlow 2.0. There is no longer a need to question

"Do I use Keras or TensorFlow?" because Keras is now part of TensorFlow. Another

question is "Should I use Keras or tf.keras?" tf.keras is the implementation of

Keras inside TensorFlow. Use tf.keras instead of Keras for better integration with

other TensorFlow APIs, such as eager execution, tf.data, and many more benefits

that we are going to discuss in Chapter 2, TensorFlow 1.x and 2.x.

[ 3 ]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!