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

## Get Tensor Values By Indices in Tensorflow – TensorFlow Tutorial

Can we get values of a tensor by indices in tensorflow? It means can we operate tensorflow tensor like python list. In this tutorial, we will discuss this topic.

## Implement Pearson Correlation Coefficient Loss in TensorFlow – TensorFlow Tutorial

Pearson Correlation Coefficient can measure the strength of the relationship between two variables. We can use it as a loss to measure the correlation between two distributions in deep learning model. In this tutorial, we will create this loss function using tensorflow.

## Understand tf.expand_dims() with Examples – TensorFlow Tutorial

TensorFlow tf.expand_dims() allows us to add a dimension of 1 for a tensor. In this tutorial, we will use some examples to show you how to use this function.

## Implement CNN for Text Classification in TensorFLow – TensorFlow Tutorial

Convolution networks have been used in text classification widely. For example: LSTM+CNN or CNN+LSTM. In this tutorial, we will introduce how to implement a cnn to text classification using tensorflow.

## Implement KL Divergence Loss in TensorFlow – TensorFlow Tutorial

In this tutorial, we will introduce how to compute kl divergence using cross entropy in tensorflow, you can use it as a loss to train your model.

## tf.contrib.keras.backend.dot() or tf.matmul()? Matrix Multiplication with Different Rank – TensorFlow Tutorial

When we are multiplying two matrices with different ranks, we may get this error: ValueError: Shape must be rank 2 but is rank 3. In this tutorial, we will introduce how to multiply two matrices with different ranks in tensorflow.

## Implement Squashing Function in Capsule Network Using TensorFlow – TensorFlow Tutorial

In this tutorial, we will use tensorflow to implement squashing function in capsule network, you can use this example code to squash the value of a tensor.

## Fix tf.GradientTape() AttributeError: ‘RefVariable’ object has no attribute ‘_id’ Error – TensorFlow Tutorial

When you are using tf.GradientTape() to compute derivative in tensorflow, you may get this error: AttributeError: ‘RefVariable’ object has no attribute ‘_id’. In this tutorial, we will introduce you how to fix it.

## A Full Introduction to BasicRNNCell in TensorFlow – TensorFlow Tutorial

In this tutorial, we will introdue the implementation of basic RNN in tensorflow. You can understand it more clearly.

## Implement Orthogonal Regularization in TensorFlow: A Step Guide – TensorFlow Tutorial

Orthogonal Regularization is a regularization technique used in deep learning model. In this tutorial, we will implement it using tensorflow.