INSTALLING THE LATEST TensorFlow 2.0 VERSION AND EXECUTING A SIMPLE PROGRAM IN JUPYTER

 

INSTALLING THE LATEST  TensorFlow 2.0 VERSION AND EXECUTING A SIMPLE PROGRAM IN JUPYTER

To install the latest version of tensorflow 2.0 just simply go to your anaconda cmd and type . First upgrade your pip

pip install --upgrade pip                                            enter 
pip install tensorflow                                                 enter

if you still facing problem try these pip tensorflow installation method , conda tensorflow installation



Printing Simple Matrix in tensorflow 2.0

import tensorflow as tf
a = tf.constant([[2,5],[5,7]])
print(a)




The output look quiet odd isn't to print like numpy array we need to do a little change in this code




We will learn about tf.constant and tf.Variable in more detail in later on articles

Post a Comment

0 Comments