What are TensorFlow APIs?

TensorFlow provides multiple APIs (Application Programming Interfaces). These can be classified into 2 major categories:

Low level API:

  • complete programming control
  • recommended for machine learning researchers.
  • provides fine levels of control over the models.
  • TensorFlow Core is the low-level API of TensorFlow.

High level API:

  • built on top of TensorFlow Core
  • easier to learn and use than TensorFlow Core
  • make repetitive tasks easier and more consistent between different users.
  • tf.contrib.learn is an example of a high-level API.



Introduction to TensorFlow

TensorFlow is an open-source machine learning library developed by Google. TensorFlow is used to build and train deep learning models as it facilitates the creation of computational graphs and efficient execution on various hardware platforms. The article provides an comprehensive overview of tensorflow.

Table of Content

  • TensorFlow
  • How to install TensorFlow?
  • The Computational Graph
  • Variables
  • Placeholders
  • Linear Regression model using TensorFlow
  • tf.contrib.learn
  • What are TensorFlow APIs?

Similar Reads

TensorFlow

TensorFlow is basically a software library for numerical computation using data flow graphs where:...

How to install TensorFlow?

An easy-to-follow guide for TensorFlow installation is available....

Computational Graph

Any TensorFlow Core program can be divided into two discrete sections:...

Variables

...

Placeholders

...

Linear Regression model using TensorFlow

TensorFlow has Variable nodes too which can hold variable data. They are mainly used to hold and update parameters of a training model. Variables are in-memory buffers containing tensors. They must be explicitly initialized and can be saved to disk during and after training. You can later restore saved values to exercise or analyze the model. An important difference to note between a constant and Variable is:...

tf.contrib.learn

...

What are TensorFlow APIs?

A graph can be parameterized to accept external inputs, known as placeholders. A placeholder is a promise to provide a value later. While evaluating the graph involving placeholder nodes, a feed_dict parameter is passed to the session’s run method to specify Tensors that provide concrete values to these placeholders. Consider the example given below:...

Contact Us