# TensorFlow Tutorials and Examples for Beginners TensorFlow is an open source platform for machine learning from Google. It can make us to build some AI applications easily. It is a popular deep learning platform in word.

In this page, we write some tutorials and examples on how to use tensorflow, you can build some AI applications by following our tutorials and examples.

## Understand Kullback-Leibler Divergence – A Simple Tutorial for Beginners

In this tutorial, we introduceKullback-Leibler Divergence (KL Divergence) to beginners. Kullback-Leibler divergence can measure the difference between two probability distributions p(x) and q(x). Readers can understand how to compute it by following this tutorial.

## Solve tf.svd NaN bug with np.linalg.svd- TensorFlow Example

In this tutorial, we write an example to fix NaN bug when using tf.svd() function to compute singular value decomposition in tensorflow. We use np.linalg.svd() function to replace tensorflow original tf.svd() when computing. I tested this method in our train model. It works well.

## Convert Tensor to Numpy Array – TensorFlow Example

In this tutorial, we write an example to convert a tensor to numpy array with tensor.eval() function in tensorflow. You can follow our example code to learn how to do.

## Sort a Tensor from Smallest to Largest in TensorFlow – TensorFlow Example

tf.nn.top_k can help us to sort elements in tensor from largest to smallest. In this tutorial, we update example code in previous tutorial and add code for sorting a tensor from smallest to largest. You can practise by following our example code.

## Sort a Tensor from Largest to Smallest in TensorFlow – TensorFlow Example

TensorFlow function tf.nn.top_k can help us to sort elements in tensor. In this page, we write an example on how to sort a tensor from largest to smallest. You can add more functionalities by editing our example.

## Compute Singular Value Decomposition (SVD) with TensorFlow – TensorFlow Example

In this tutorial, we write an example for computing SVD value with TensorFlow. You can exercise this example by update our example code. Meanwhile, you should know the dfference with computing SVD in Numpy.

## Calculate Singular Value Decomposition (SVD) using Numpy – Numpy Example

In this tutorial, we write a numpy example to caculate Singular Value Decomposition (SVD) of any matrix, you can learn and apply our example in your application by following our code.