TechForge

9th November 2017

Share this story:

Tags:

Categories::

The latest release of Google’s popular open-source library TensorFlow graduates the Keras framework and Dataset API.

Keras is a machine learning framework written in Python which aims to minimise the time between ideas and working implementations. It consists of two high-level APIs: Keras Sequential, and Keras Functional.

Sequential models are created using the keras_model_sequential() function and are composed of a set of linear layers. The functional API enables you to define more complex models — such as multi-output models, directed acyclic graphs, or models with shared layers.

Google says Keras “integrates smoothly” with other core TensorFlow functionality; such as the Estimator API. In fact, you’re able to construct an Estimator directly from any Keras model by calling the tf.keras.estimator.model_to_estimator function.

Keras was available in prior versions of TensorFlow as a contribution package (tf.contrib.keras) but this release graduates the framework to a core package (tf.keras).

Another graduation to celebrate in TensorFlow 1.4 is that of the Dataset API which now includes support for Python generators. Google says it “strongly recommends” using this API for creating input pipelines as it provides more functionality than older alternatives while also performing better and being cleaner and easier to use.

Keep in mind, only Python APIs — such as those in the Keras framework and the Dataset API — are covered by TensorFlow’s backwards compatibility promise. You’re on your own if you use C++, Java, or Go APIs.

What are your thoughts on how TensorFlow is developing? Let us know in the comments.

About the Author

Senior Editor

Ryan Daws is a senior editor at TechForge Media with over a decade of experience in weaving narratives and dissecting complex topics. His articles and interviews with industry leaders have earned him recognition as a key tech influencer from numerous organisations. Under his leadership, publications have been praised by analyst firms for their excellence and performance. Connect with him on X, Mastodon, Bluesky, Threads, and/or LinkedIn.

Related

15th September 2026

11th September 2026

11th September 2026

9th September 2026

Join our Community

Subscribe now to get all our premium content and latest tech news delivered straight to your inbox

Popular

20160 view(s)
11634 view(s)
10293 view(s)
6821 view(s)

Subscribe

All our premium content and latest tech news delivered straight to your inbox

This field is for validation purposes and should be left unchanged.