# 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.

## An Introduction to Matrix Multiplication – Deep Learning Tutorial

In this tutorial, we simple introduce Matrix Multiplication (Matrix Product) in Deep Learning, you can learn how to compute it by following our tutorial.

## Computing Hadamard Product of Two Tensors in TensorFlow – TensorFlow Example

In this tutorial, we write two examples to introduce how to compute hadamard product of two tensors in tensorflow, you can learn how to compute it by following our examples.

## Understand Why Use Cross Entropy as Loss Function in Classification Problem – Deep Learning Tutorial

In this tutorial, we explain why we use cross entropy as loss function in deep learning and why we use H(y, ypred) but H(ypred,y). You can follow our tutorial to learn.

## Clip Tensor Values to a Specified Min and Max with tf.clip_by_value – TensorFlow Example

tf.clip_by_value() can clip a tenser values to min and max number in tensorflow. In this tutorial, we write an example to introduce how to use this function, you can follow our example to learn it.

## Kullback-Leibler Divergence to NaN or INF in TensorFlow – TensorFlow Example

In this tutorial, we write an example to introduce that we may get nan or inf value when computing kl divergence value in tensorflow. To fix this problem, you can follow our tutorial and learn how to process.

## KL Divergence: Forward or Reverse – DKL(p||q) or DKL(q||p) – Which Selected?

KL Divergence has two equations: Forward and Reverse. Which shoud be selected in our application? In this tutorial, we discuss the difference between them, you can lean and understand how to select them by following our tutorial.

## Compute Kullback-Leibler Divergence in TensorFlow – TensorFlow Example

In this tutorial, we write an example to compute kl divergence in tensorflow, you can learn how to use this code by our tutorial.

## Understand Entropy, Cross Entropy and KL Divergence in Deep Learning – A Simple Tutorial for Beginners

Entropy, Cross Entropy and KL Divergence are common used algorithms in deep learning. What is relation among them? In this tutorial, we will discuss the relation of them to help you to understand easily.

## 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.