{"id":577,"date":"2019-07-08T15:44:45","date_gmt":"2019-07-08T10:14:45","guid":{"rendered":"http:\/\/blog.nuventure.in\/?p=577"},"modified":"2023-04-03T18:57:29","modified_gmt":"2023-04-03T13:27:29","slug":"an-introduction-to-tensorflow-with-python","status":"publish","type":"post","link":"https:\/\/nuventureconnect.com\/blog\/2019\/07\/08\/an-introduction-to-tensorflow-with-python\/","title":{"rendered":"An Introduction to Tensorflow with Python"},"content":{"rendered":"\n<p>  Artificial Intelligence, Machine Learning, and Deep Learning are very popular and important in the world of technology. There are few libraries in Python to work with these fields. TensorFlow is a very popular open source library used for deep learning. TensorFlow can be controlled by a simple Python API<br><\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp; TensorFlow is an open source library for fast numerical computing used both in research and development and in production systems. It is a symbolic math library used as a system for building and training neural networks to detect and decipher patterns and correlations. Tensorflow can perform computation very efficiently and can tap into the GPU to speed up the processing even further. It can run on single CPU systems, GPUs, mobile devices and large scale distributed systems. The name \u201cTensorFlow\u201d is derived from the operations which neural networks perform on multidimensional data arrays or tensors. In short, it is a flow of tensors.<br><\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp; So, what is a tensor? Tensor is the mathematical representation of a physical entity that can be characterized by magnitude and multiple directions. Tensor is represented by an array of 3R numbers in a 3-dimensional space, where \u201cR\u201d stands for the rank of the tensor. In an N-dimensional space, scalars require just one number, the vectors requires N numbers, and tensors require N^R numbers. In short, scalars are represented by a single number, vectors by an ordered set of numbers, and tensors by an array of numbers. This helps us to recognize scalars, vectors, and tensors and to set them apart. What makes tensors so unique is the combination of components, which transforms in a way to keep the combination between components and basis vectors the same, and basis vectors, which transforms one way between reference frames.<br><\/p>\n\n\n\n<p><strong>Installing Tensorflow<\/strong><br><\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp; To get started, we need our Python environment ready. We can check if these following environments are available by running these comment:<br><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">python3 --version<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">pip3 --version<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">virtualenv --version<\/pre>\n\n\n\n<p>&nbsp;&nbsp;&nbsp; If the environments are not available, we can install it by running the following commands:<br><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"> sudo apt update<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt install python3-dev python3-pip<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo pip3 install -U virtualenv &nbsp;# system-wide install<br><\/pre>\n\n\n\n<p>&nbsp;&nbsp;&nbsp; Now let\u2019s create a new virtual environment and activate it.<br><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">virtualenv --system-site-packages -p python3 .\/venv<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">source .\/venv\/bin\/activate &nbsp;# sh, bash, ksh, or zsh<br><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">&nbsp;&nbsp;&nbsp; After activating our virtual environment, let\u2019s install some packages in it:<br><\/pre>\n\n\n\n<p>pip install &#8211;upgrade pip<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">pip list &nbsp;# show packages installed within the virtual environment<br><\/pre>\n\n\n\n<p>&nbsp;&nbsp;&nbsp; Now, let\u2019s install installing tensorflow by choosing one of its packages to be installed. The package tensorflow is recommended for beginners. Let\u2019s run the following command to install and verify the installation of tensorflow.<br><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"> &nbsp;pip install --upgrade tensorflow<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">python -c \"import tensorflow as tf; tf.enable_eager_execution(); print(tf.reduce_sum(tf.random_normal([1000, 1000])))\"<br><\/pre>\n\n\n\n<p>&nbsp;&nbsp;&nbsp; To start working on a tensorflow project, do not forget to import the package. We can import tensorflow by running the following command.<br><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"> &nbsp;import tensorflow as tf<br><\/pre>\n\n\n\n<p><strong>Our first code<\/strong><br><\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp; Let\u2019s get started with our first Hello world program. The code will be as given below.<br><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ python<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">&gt;&gt;&gt; import tensorflow as tf<br>&nbsp;&nbsp;&nbsp; &gt;&gt;&gt; tf.enable_eager_execution()<br>&nbsp;&nbsp;&nbsp; &gt;&gt;&gt; tf.add(1, 2).numpy()<br>&nbsp;&nbsp;&nbsp; 3<br>&nbsp;&nbsp;&nbsp; &gt;&gt;&gt; hello = tf.constant('Hello, World!')<br>&nbsp;&nbsp;&nbsp; &gt;&gt;&gt; hello.numpy()<br>&nbsp;&nbsp;&nbsp; 'Hello, World!'<br><\/pre>\n\n\n\n<p>Here is now a modified example of a simple addition code written using the tensorflow library.<br><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">import tensorflow as tf<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">sess = tf.Session()<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">a = tf.constant(10)<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">b = tf.constant(32)<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">print(sess.run(a+b))<br><\/pre>\n\n\n\n<p>The output will be 42<br><\/p>\n\n\n\n<p>Let\u2019s now take the case of a linear regression with Tensorflow.<br><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">import tensorflow as tf<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">import numpy as np<br><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"># Create 100 phony x, y data points in NumPy, y = x * 0.1 + 0.3<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">x_data = np.random.rand(100).astype(np.float32)<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">y_data = x_data * 0.1 + 0.3<br><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"># Try to find values for W and b that compute y_data = W * x_data + b<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"># (We know that W should be 0.1 and b 0.3, but Tensorflow will<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"># figure that out for us.)<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">W = tf.Variable(tf.random_uniform([1], -1.0, 1.0))<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">b = tf.Variable(tf.zeros([1]))<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">y = W * x_data + b<br><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"># Minimize the mean squared errors.<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">loss = tf.reduce_mean(tf.square(y - y_data))<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">optimizer = tf.train.GradientDescentOptimizer(0.5)<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">train = optimizer.minimize(loss)<br><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"># Before starting, initialize the variables. &nbsp;We will 'run' this first.<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">init = tf.initialize_all_variables()<br><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"># Launch the graph.<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">sess.run(init)<br><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">sess = tf.Session()<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"># Fit the line.<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">for step in xrange(201):<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">&nbsp;&nbsp;&nbsp; sess.run(train)<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">&nbsp;&nbsp;&nbsp; if step % 20 == 0:<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; print(step, sess.run(W), sess.run(b))<br><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"># Learns best fit is W: [0.1], b: [0.3]<\/pre>\n\n\n\n<p><\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp; The output we be like:<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp; (0, array([ 0.2629351], dtype=float32), array([ 0.28697217], dtype=float32))<\/p>\n\n\n\n<p>(20, array([ 0.13929555], dtype=float32), array([ 0.27992988], dtype=float32))<\/p>\n\n\n\n<p>(40, array([ 0.11148042], dtype=float32), array([ 0.2941364], dtype=float32))<\/p>\n\n\n\n<p>(60, array([ 0.10335406], dtype=float32), array([ 0.29828694], dtype=float32))<\/p>\n\n\n\n<p>(80, array([ 0.1009799], dtype=float32), array([ 0.29949954], dtype=float32))<\/p>\n\n\n\n<p>(100, array([ 0.10028629], dtype=float32), array([ 0.2998538], dtype=float32))<\/p>\n\n\n\n<p>(120, array([ 0.10008363], dtype=float32), array([ 0.29995731], dtype=float32))<\/p>\n\n\n\n<p>(140, array([ 0.10002445], dtype=float32), array([ 0.29998752], dtype=float32))<\/p>\n\n\n\n<p>(160, array([ 0.10000713], dtype=float32), array([ 0.29999638], dtype=float32))<\/p>\n\n\n\n<p>(180, array([ 0.10000207], dtype=float32), array([ 0.29999897], dtype=float32))<\/p>\n\n\n\n<p>(200, array([ 0.1000006], dtype=float32), array([ 0.29999971], dtype=float32))<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Tensorflow is an awesome framework for deep learning. Tensorflow has a fast numerical computation, specifically designed for the types of operations that are required in the development and evaluation of large deep learning models.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Artificial Intelligence, Machine Learning, and Deep Learning are very popular and important in the world of technology. There are few libraries in Python to work with these fields. TensorFlow is a very popular open source library used for deep learning. TensorFlow can be controlled by a simple Python API &nbsp;&nbsp;&nbsp; TensorFlow is an open source [&hellip;]<\/p>\n","protected":false},"author":100,"featured_media":792,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[18],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Nuventure Blog An Introduction to Tensorflow with Python -<\/title>\n<meta name=\"description\" content=\"Nuventure Blog Artificial Intelligence, Machine Learning, and Deep Learning are very popular and important in the world of technology. There are few libraries in Python\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/nuventureconnect.com\/blog\/2019\/07\/08\/an-introduction-to-tensorflow-with-python\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Nuventure Blog An Introduction to Tensorflow with Python -\" \/>\n<meta property=\"og:description\" content=\"Nuventure Blog Artificial Intelligence, Machine Learning, and Deep Learning are very popular and important in the world of technology. There are few libraries in Python\" \/>\n<meta property=\"og:url\" content=\"https:\/\/nuventureconnect.com\/blog\/2019\/07\/08\/an-introduction-to-tensorflow-with-python\/\" \/>\n<meta property=\"og:site_name\" content=\"Nuventure Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/nuventureco\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-07-08T10:14:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-03T13:27:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/nuventureconnect.com\/blog\/wp-content\/uploads\/2019\/07\/1_E6jhcyx5k-18j5Aadq4FTg.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2160\" \/>\n\t<meta property=\"og:image:height\" content=\"1080\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Steve\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@nuventureco\" \/>\n<meta name=\"twitter:site\" content=\"@nuventureco\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Steve\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/nuventureconnect.com\/blog\/2019\/07\/08\/an-introduction-to-tensorflow-with-python\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/nuventureconnect.com\/blog\/2019\/07\/08\/an-introduction-to-tensorflow-with-python\/\"},\"author\":{\"name\":\"Steve\",\"@id\":\"https:\/\/nuventureconnect.com\/blog\/#\/schema\/person\/e42795dd493946ecd146143ac76ff1a6\"},\"headline\":\"An Introduction to Tensorflow with Python\",\"datePublished\":\"2019-07-08T10:14:45+00:00\",\"dateModified\":\"2023-04-03T13:27:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/nuventureconnect.com\/blog\/2019\/07\/08\/an-introduction-to-tensorflow-with-python\/\"},\"wordCount\":596,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/nuventureconnect.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/nuventureconnect.com\/blog\/2019\/07\/08\/an-introduction-to-tensorflow-with-python\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/nuventureconnect.com\/blog\/wp-content\/uploads\/2019\/07\/1_E6jhcyx5k-18j5Aadq4FTg.png\",\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/nuventureconnect.com\/blog\/2019\/07\/08\/an-introduction-to-tensorflow-with-python\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/nuventureconnect.com\/blog\/2019\/07\/08\/an-introduction-to-tensorflow-with-python\/\",\"url\":\"https:\/\/nuventureconnect.com\/blog\/2019\/07\/08\/an-introduction-to-tensorflow-with-python\/\",\"name\":\"Nuventure Blog An Introduction to Tensorflow with Python -\",\"isPartOf\":{\"@id\":\"https:\/\/nuventureconnect.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/nuventureconnect.com\/blog\/2019\/07\/08\/an-introduction-to-tensorflow-with-python\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/nuventureconnect.com\/blog\/2019\/07\/08\/an-introduction-to-tensorflow-with-python\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/nuventureconnect.com\/blog\/wp-content\/uploads\/2019\/07\/1_E6jhcyx5k-18j5Aadq4FTg.png\",\"datePublished\":\"2019-07-08T10:14:45+00:00\",\"dateModified\":\"2023-04-03T13:27:29+00:00\",\"description\":\"Nuventure Blog Artificial Intelligence, Machine Learning, and Deep Learning are very popular and important in the world of technology. There are few libraries in Python\",\"breadcrumb\":{\"@id\":\"https:\/\/nuventureconnect.com\/blog\/2019\/07\/08\/an-introduction-to-tensorflow-with-python\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/nuventureconnect.com\/blog\/2019\/07\/08\/an-introduction-to-tensorflow-with-python\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/nuventureconnect.com\/blog\/2019\/07\/08\/an-introduction-to-tensorflow-with-python\/#primaryimage\",\"url\":\"https:\/\/nuventureconnect.com\/blog\/wp-content\/uploads\/2019\/07\/1_E6jhcyx5k-18j5Aadq4FTg.png\",\"contentUrl\":\"https:\/\/nuventureconnect.com\/blog\/wp-content\/uploads\/2019\/07\/1_E6jhcyx5k-18j5Aadq4FTg.png\",\"width\":2160,\"height\":1080},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/nuventureconnect.com\/blog\/2019\/07\/08\/an-introduction-to-tensorflow-with-python\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/nuventureconnect.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"An Introduction to Tensorflow with Python\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/nuventureconnect.com\/blog\/#website\",\"url\":\"https:\/\/nuventureconnect.com\/blog\/\",\"name\":\"Nuventure Blog\",\"description\":\"Knowledge.transmit!\",\"publisher\":{\"@id\":\"https:\/\/nuventureconnect.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/nuventureconnect.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/nuventureconnect.com\/blog\/#organization\",\"name\":\"Nuventure Connect Private Limited\",\"url\":\"https:\/\/nuventureconnect.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/nuventureconnect.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/nuventureconnect.com\/blog\/wp-content\/uploads\/2023\/03\/logo-main-with-cartion-1.webp\",\"contentUrl\":\"https:\/\/nuventureconnect.com\/blog\/wp-content\/uploads\/2023\/03\/logo-main-with-cartion-1.webp\",\"width\":200,\"height\":89,\"caption\":\"Nuventure Connect Private Limited\"},\"image\":{\"@id\":\"https:\/\/nuventureconnect.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/nuventureco\/\",\"https:\/\/x.com\/nuventureco\",\"https:\/\/www.instagram.com\/nuventure\/\",\"https:\/\/in.linkedin.com\/company\/nuventure\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/nuventureconnect.com\/blog\/#\/schema\/person\/e42795dd493946ecd146143ac76ff1a6\",\"name\":\"Steve\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/nuventureconnect.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/304e12c24de1b4770ca00ae1dd506c29?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/304e12c24de1b4770ca00ae1dd506c29?s=96&r=g\",\"caption\":\"Steve\"},\"url\":\"https:\/\/nuventureconnect.com\/blog\/author\/steve\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Nuventure Blog An Introduction to Tensorflow with Python -","description":"Nuventure Blog Artificial Intelligence, Machine Learning, and Deep Learning are very popular and important in the world of technology. There are few libraries in Python","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/nuventureconnect.com\/blog\/2019\/07\/08\/an-introduction-to-tensorflow-with-python\/","og_locale":"en_US","og_type":"article","og_title":"Nuventure Blog An Introduction to Tensorflow with Python -","og_description":"Nuventure Blog Artificial Intelligence, Machine Learning, and Deep Learning are very popular and important in the world of technology. There are few libraries in Python","og_url":"https:\/\/nuventureconnect.com\/blog\/2019\/07\/08\/an-introduction-to-tensorflow-with-python\/","og_site_name":"Nuventure Blog","article_publisher":"https:\/\/www.facebook.com\/nuventureco\/","article_published_time":"2019-07-08T10:14:45+00:00","article_modified_time":"2023-04-03T13:27:29+00:00","og_image":[{"width":2160,"height":1080,"url":"https:\/\/nuventureconnect.com\/blog\/wp-content\/uploads\/2019\/07\/1_E6jhcyx5k-18j5Aadq4FTg.png","type":"image\/png"}],"author":"Steve","twitter_card":"summary_large_image","twitter_creator":"@nuventureco","twitter_site":"@nuventureco","twitter_misc":{"Written by":"Steve","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/nuventureconnect.com\/blog\/2019\/07\/08\/an-introduction-to-tensorflow-with-python\/#article","isPartOf":{"@id":"https:\/\/nuventureconnect.com\/blog\/2019\/07\/08\/an-introduction-to-tensorflow-with-python\/"},"author":{"name":"Steve","@id":"https:\/\/nuventureconnect.com\/blog\/#\/schema\/person\/e42795dd493946ecd146143ac76ff1a6"},"headline":"An Introduction to Tensorflow with Python","datePublished":"2019-07-08T10:14:45+00:00","dateModified":"2023-04-03T13:27:29+00:00","mainEntityOfPage":{"@id":"https:\/\/nuventureconnect.com\/blog\/2019\/07\/08\/an-introduction-to-tensorflow-with-python\/"},"wordCount":596,"commentCount":0,"publisher":{"@id":"https:\/\/nuventureconnect.com\/blog\/#organization"},"image":{"@id":"https:\/\/nuventureconnect.com\/blog\/2019\/07\/08\/an-introduction-to-tensorflow-with-python\/#primaryimage"},"thumbnailUrl":"https:\/\/nuventureconnect.com\/blog\/wp-content\/uploads\/2019\/07\/1_E6jhcyx5k-18j5Aadq4FTg.png","articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/nuventureconnect.com\/blog\/2019\/07\/08\/an-introduction-to-tensorflow-with-python\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/nuventureconnect.com\/blog\/2019\/07\/08\/an-introduction-to-tensorflow-with-python\/","url":"https:\/\/nuventureconnect.com\/blog\/2019\/07\/08\/an-introduction-to-tensorflow-with-python\/","name":"Nuventure Blog An Introduction to Tensorflow with Python -","isPartOf":{"@id":"https:\/\/nuventureconnect.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/nuventureconnect.com\/blog\/2019\/07\/08\/an-introduction-to-tensorflow-with-python\/#primaryimage"},"image":{"@id":"https:\/\/nuventureconnect.com\/blog\/2019\/07\/08\/an-introduction-to-tensorflow-with-python\/#primaryimage"},"thumbnailUrl":"https:\/\/nuventureconnect.com\/blog\/wp-content\/uploads\/2019\/07\/1_E6jhcyx5k-18j5Aadq4FTg.png","datePublished":"2019-07-08T10:14:45+00:00","dateModified":"2023-04-03T13:27:29+00:00","description":"Nuventure Blog Artificial Intelligence, Machine Learning, and Deep Learning are very popular and important in the world of technology. There are few libraries in Python","breadcrumb":{"@id":"https:\/\/nuventureconnect.com\/blog\/2019\/07\/08\/an-introduction-to-tensorflow-with-python\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/nuventureconnect.com\/blog\/2019\/07\/08\/an-introduction-to-tensorflow-with-python\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/nuventureconnect.com\/blog\/2019\/07\/08\/an-introduction-to-tensorflow-with-python\/#primaryimage","url":"https:\/\/nuventureconnect.com\/blog\/wp-content\/uploads\/2019\/07\/1_E6jhcyx5k-18j5Aadq4FTg.png","contentUrl":"https:\/\/nuventureconnect.com\/blog\/wp-content\/uploads\/2019\/07\/1_E6jhcyx5k-18j5Aadq4FTg.png","width":2160,"height":1080},{"@type":"BreadcrumbList","@id":"https:\/\/nuventureconnect.com\/blog\/2019\/07\/08\/an-introduction-to-tensorflow-with-python\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/nuventureconnect.com\/blog\/"},{"@type":"ListItem","position":2,"name":"An Introduction to Tensorflow with Python"}]},{"@type":"WebSite","@id":"https:\/\/nuventureconnect.com\/blog\/#website","url":"https:\/\/nuventureconnect.com\/blog\/","name":"Nuventure Blog","description":"Knowledge.transmit!","publisher":{"@id":"https:\/\/nuventureconnect.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/nuventureconnect.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/nuventureconnect.com\/blog\/#organization","name":"Nuventure Connect Private Limited","url":"https:\/\/nuventureconnect.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/nuventureconnect.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/nuventureconnect.com\/blog\/wp-content\/uploads\/2023\/03\/logo-main-with-cartion-1.webp","contentUrl":"https:\/\/nuventureconnect.com\/blog\/wp-content\/uploads\/2023\/03\/logo-main-with-cartion-1.webp","width":200,"height":89,"caption":"Nuventure Connect Private Limited"},"image":{"@id":"https:\/\/nuventureconnect.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/nuventureco\/","https:\/\/x.com\/nuventureco","https:\/\/www.instagram.com\/nuventure\/","https:\/\/in.linkedin.com\/company\/nuventure"]},{"@type":"Person","@id":"https:\/\/nuventureconnect.com\/blog\/#\/schema\/person\/e42795dd493946ecd146143ac76ff1a6","name":"Steve","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/nuventureconnect.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/304e12c24de1b4770ca00ae1dd506c29?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/304e12c24de1b4770ca00ae1dd506c29?s=96&r=g","caption":"Steve"},"url":"https:\/\/nuventureconnect.com\/blog\/author\/steve\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/nuventureconnect.com\/blog\/wp-json\/wp\/v2\/posts\/577"}],"collection":[{"href":"https:\/\/nuventureconnect.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nuventureconnect.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nuventureconnect.com\/blog\/wp-json\/wp\/v2\/users\/100"}],"replies":[{"embeddable":true,"href":"https:\/\/nuventureconnect.com\/blog\/wp-json\/wp\/v2\/comments?post=577"}],"version-history":[{"count":4,"href":"https:\/\/nuventureconnect.com\/blog\/wp-json\/wp\/v2\/posts\/577\/revisions"}],"predecessor-version":[{"id":722,"href":"https:\/\/nuventureconnect.com\/blog\/wp-json\/wp\/v2\/posts\/577\/revisions\/722"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nuventureconnect.com\/blog\/wp-json\/wp\/v2\/media\/792"}],"wp:attachment":[{"href":"https:\/\/nuventureconnect.com\/blog\/wp-json\/wp\/v2\/media?parent=577"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nuventureconnect.com\/blog\/wp-json\/wp\/v2\/categories?post=577"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nuventureconnect.com\/blog\/wp-json\/wp\/v2\/tags?post=577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}