# Category «Tensorflow»

There is no excerpt because this is a protected post.

## Algebra

Today, I am going to tell you a story of a Philosopher, Mr.Mathematics. He is a philosopher of calculation. He is as old as the sun or the moon. With his philosophy, we measure distance, predict the basics of time. His wife is Lady Calculation. She is intellectual, smart and honest. Now I know you …

## Activation Function and output

Lets create a matrix of shape 5×5 to understand the activation function working: import numpy as np Y2=np.arange(25).reshape(5,5) print(Y2) array([[ 0, 1, 2, 3, 4], [ 5, 6, 7, 8, 9], [10, 11, 12, 13, 14], [15, 16, 17, 18, 19], [20, 21, 22, 23, 24]]) Now create a weight matrix of similar shape W3=np.arange(25).reshape(5,5) …

## Types of Tensor

We can define basically three types of tensor: Constant: It is a tensor which will be constant while a graph run there is no need to initialize it. Variable: It is a tensor which will be asynchronously assigned and initiated. Placeholder: It is a tensor which accept value at run time from the feed_dict.

## Hello world in Tensorflow

First i want to tell you Tensorflow is not a library to be used as writing a hello world code, but still if you want then go ahead ! So import tensorflow library… import tensorflow as tf hello=tf.constant(‘Hello world’,name=’Hello’,shape=[1]) print(hello)

## Tensorflow

TensorFlow, which was released to the public in November 2015. It quickly turned into a popular library for machine learning, and it is currently being used for natural language processing, artificial intelligence, computer vision, and predictive analytics.