{"id":67611,"date":"2026-01-28T12:55:53","date_gmt":"2026-01-28T11:55:53","guid":{"rendered":"https:\/\/multi.liora.io\/?p=67611"},"modified":"2026-08-08T12:24:15","modified_gmt":"2026-08-08T11:24:15","slug":"tensor-flow-all-about-googles-machine-learning-framework","status":"publish","type":"post","link":"https:\/\/liora.io\/en\/tensor-flow-all-about-googles-machine-learning-framework","title":{"rendered":"Tensor flow : All about Google\u2019s Machine Learning framework"},"content":{"rendered":"\n<p><strong>TensorFlow is a Machine Learning framework created by Google and available in open source. Discover everything you need to know about it: history, functioning, advantages, training\u2026<\/strong><\/p>\n\n\n<p>Machine Learning is a complex discipline, but fortunately there are tools that simplify its implementation. Among these resources, there is the <strong>TensorFlow framework<\/strong> from Google.<\/p>\n\n\n<h2 class=\"wp-block-heading\" id=\"what-is-tensorflow\">What is TensorFlow?<\/h2>\n\n\n<p>It is an open-source library for numerical computation and Machine Learning compatible with the <strong><a href=\"https:\/\/liora.io\/en\/python-the-most-popular-programming-language\">Python language<\/a><\/strong>. It simplifies the process of <strong>acquiring data<\/strong>, training Machine Learning models, generating predictions and refining future results.<\/p>\n\n\n<p>TensorFlow combines <strong><a href=\"https:\/\/liora.io\/en\/machine-learning-what-is-it-and-why-does-it-change-the-world\">Machine Learning<\/a><\/strong> and <a href=\"https:\/\/liora.io\/en\/all-about-deep-learning\"><strong>Deep Learning<\/strong><\/a> models and algorithms. The <strong>provides a convenient and comfortable front-end API<\/strong> for creating applications using this framework. These applications can then be executed in <strong>C++<\/strong>.<\/p>\n\n\n<p>The framework can be used to <strong>train and run deep neural networks<\/strong> for handwritten digit classification, image recognition, lexical embedding, recurrent neural networks, sequence-to-sequence models for machine translation, natural language processing, and simulations based on partial differential equations.<\/p>\n\n\n<h2 class=\"wp-block-heading\" id=\"the-history-of-tensorflow\">The history of TensorFlow<\/h2>\n\n\n<p>TensorFlow was initially created by the <strong>Google Brain team<\/strong>. The goal was originally to use neural networks to improve Google services such as Gmail, Photos or the search engine.<\/p>\n\n\n<p>Thanks to this framework, researchers and developers could work together on an <strong>AI model<\/strong>. Subsequently, TensorFlow was made public at the end of 2015 for the first time. However, the first stable release dates back to 2017.<\/p>\n\n\n<p>This tool is open source under the <strong>Apache Open Source license<\/strong>. Therefore, it is possible to use it, modify it and redistribute the modified version in commercial form without paying Google.<\/p>\n\n\n<h2 class=\"wp-block-heading\" id=\"how-does-tensorflow-work\">How does TensorFlow work?<\/h2>\n\n\n<p>Developers can create \u201c<strong>dataflow graphs<\/strong>\u201d. These are structures to describe how data is transferred through graphs or a series of processing nodes. Each node in the graph represents a mathematical operation. Each connection between the nodes is a multidimensional data array: <strong>a tensor<\/strong>.<\/p>\n\n\n<p>Interaction with TensorFlow is done through <strong><a href=\"https:\/\/liora.io\/blog-data-ia-actualites\/programmation-python\">the Python language<\/a><\/strong>, which is <strong>both simple to learn and to use<\/strong>. This language makes it easy to express how high-level abstractions can be coupled together.<\/p>\n\n\n<p>TensorFlow nodes and tensors are Python objects. TensorFlow applications, themselves, are Python applications.<\/p>\n\n\n<p>However, the mathematical operations themselves are not performed in Python. The transformation libraries accessible via TensorFlow are written as <strong>high-performance C++ binaries<\/strong>. The Python language simply directs traffic between the various parts and allows them to be connected through high-level abstractions.<\/p>\n\n\n<p>TensorFlow applications can run on a local machine, a <strong>cluster in the cloud<\/strong>, iOS or Android smartphones and tablets, or CPUs and GPUs. On its own Cloud, Google offers to run <strong>TensorFlow<\/strong> on its<strong> TensorFlow Processing Unit <\/strong>(TPU) chips to take advantage of <strong>increased acceleration<\/strong>. The models created by TensorFlow can then be deployed on any device to deliver predictions.<\/p>\n\n\n<p>With TensorFlow 2.0, launching in October 2019, the framework has undergone a major overhaul. The changes made are based on user feedback This new version is <strong>more powerful and easier to use<\/strong>, especially via the use of the<strong> Keras API<\/strong> for model training. A new API simplifies distributed training.<\/p>\n\n\n<p>Compatibility with <strong>TensorFlow Lite<\/strong> allows models to be deployed on a wider variety of platforms. The only downside is that code written for earlier versions of TensorFlow must be rewritten to take full advantage of the new features in TensorFlow 2.0.<\/p>\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex is-content-justification-center wp-container-core-buttons-is-layout-5ee10de4\" style=\"margin-top:32px;margin-bottom:32px\"><div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"\/en\/courses\/data-ai\/machine-learning-engineer\">Learn to use TensorFlow<\/a><\/div><\/div>\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\" style=\"margin-top:32px;margin-bottom:32px\"><div class=\"wp-block-embed__wrapper\" style=\"position:relative;width:100%;padding-top:56.25%;overflow:hidden\"><iframe allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen=\"\" frameborder=\"0\" height=\"315\" loading=\"lazy\" referrerpolicy=\"strict-origin-when-cross-origin\" src=\"https:\/\/www.youtube.com\/embed\/2FmcHiLCwTU?rel=0\" style=\"position:absolute;inset:0;width:100%;height:100%;border:0\" title=\"YouTube video 2FmcHiLCwTU\" width=\"560\"><\/iframe><\/div><\/figure>\n\n\n<h2 class=\"wp-block-heading\" id=\"what-are-the-advantages-of-tensorflow\">What are the advantages of TensorFlow?<\/h2>\n\n\n<p>TensorFlow brings many advantages for <strong>Machine Learning development<\/strong>. One of the main ones is abstraction.<\/p>\n\n\n<p>Rather than having to dwell on the details of implementing algorithms or connecting functions, developers can focus on the overall logic of the application. The framework takes care of the <strong>technical details<\/strong>.<\/p>\n\n\n<p>Debugging and inspection of applications is also simplified. For example, the \u201c<strong>eager execution<\/strong>\u201d mode allows each operation of a graph to be evaluated and modified separately. The graph is therefore not a single, opaque object that has to be evaluated completely. The <strong>TensorBoard visualization<\/strong> suite, on the other hand, allows inspection of how graphs are executed through an <strong>interactive web-based dashboard<\/strong>.<\/p>\n\n\n<p>In addition, the fact that <strong>Google<\/strong> is behind this project is a real asset. This has not only accelerated development, but also created many offers around <strong>TensorFlow<\/strong> simplifying its deployment and use.<\/p>\n\n\n<p>We can mention the <strong>TPU chips <\/strong>allowing increased performance on the <strong>Google Cloud<\/strong>, but also an online hub for sharing models created with the framework, or the mobile and web versions.<\/p>\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\" style=\"margin-top:32px;margin-bottom:32px\"><div class=\"wp-block-embed__wrapper\" style=\"position:relative;width:100%;padding-top:56.25%;overflow:hidden\"><iframe allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen=\"\" frameborder=\"0\" height=\"315\" loading=\"lazy\" referrerpolicy=\"strict-origin-when-cross-origin\" src=\"https:\/\/www.youtube.com\/embed\/yjprpOoH5c8?rel=0\" style=\"position:absolute;inset:0;width:100%;height:100%;border:0\" title=\"YouTube video yjprpOoH5c8\" width=\"560\"><\/iframe><\/div><\/figure>\n\n\n<h2 class=\"wp-block-heading\" id=\"alternatives-to-tensorflow\">Alternatives to TensorFlow<\/h2>\n\n\n<p>There are several <strong>alternatives to TensorFlow<\/strong> on the Machine Learning framework market. Among the most popular are PyTorch, CNTK and MXNet.<\/p>\n\n\n<p><strong>PyTorch<\/strong> has many similarities with TensorFlow. This framework is based on the Python language, and relies on hardware accelerated components. It also offers a <strong>highly interactive development model<\/strong> and many useful components already included.<\/p>\n\n\n<p>Overall, <strong>PyTorch<\/strong> is a better choice for <strong>rapid project development<\/strong>. On the other hand, TensorFlow is preferred for larger projects and more complex workflows.<\/p>\n\n\n<p><strong>CNTK is the Microsoft Cognitive suite of tools<\/strong>. Like TensorFlow, it uses a graphical structure to <strong>describe data flows<\/strong>. However, it focuses on the creation of Deep Learning neural networks.<\/p>\n\n\n<p>As a result, CNTK can handle neural network tasks faster. It also offers a wider set of APIs: Python, C++, C#, Java\u2026 it is however <strong>more difficult to master<\/strong> and deploy than TensorFlow.<\/p>\n\n\n<p>Finally, Apache MXNet has been adopted by Amazon as the main Deep Learning framework on AWS. It can be linearly extended across <strong>multiple GPUs and machines<\/strong>. This framework is compatible with a wide variety of programming language APIs: Python, C++, Scala, R, JavaScript, Julia, Perl, Go\u2026<\/p>\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\" style=\"margin-top:32px;margin-bottom:32px\"><div class=\"wp-block-embed__wrapper\" style=\"position:relative;width:100%;padding-top:56.25%;overflow:hidden\"><iframe allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen=\"\" frameborder=\"0\" height=\"315\" loading=\"lazy\" referrerpolicy=\"strict-origin-when-cross-origin\" src=\"https:\/\/www.youtube.com\/embed\/744f60NyAgc?rel=0\" style=\"position:absolute;inset:0;width:100%;height:100%;border:0\" title=\"YouTube video 744f60NyAgc\" width=\"560\"><\/iframe><\/div><\/figure>\n\n\n<h2 class=\"wp-block-heading\" id=\"how-do-i-learn-to-use-it\">How do I learn to use it?<\/h2>\n\n\n<p>To learn how to use <strong>TensorFlow<\/strong>, you can turn to our <strong>Machine Learning Engineer training<\/strong>. You\u2019ll learn how to use all the major Machine Learning Engineer tools and techniques, including <strong>Google\u2019s framework<\/strong>.<\/p>\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex is-content-justification-center wp-container-core-buttons-is-layout-5ee10de4\" style=\"margin-top:32px;margin-bottom:32px\"><div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"\/en\/courses\/data-ai\/machine-learning-engineer\">Start a Machine Learning Engineer training<\/a><\/div><\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>TensorFlow is a Machine Learning framework created by Google and available in open source. Discover everything you need to know about it: history, functioning, advantages, training\u2026<\/p>\n","protected":false},"author":85,"featured_media":39759,"comment_status":"open","ping_status":"open","sticky":false,"template":"elementor_theme","format":"standard","meta":{"_acf_changed":false,"editor_notices":[],"footnotes":""},"categories":[2433],"class_list":["post-67611","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-data-ai"],"acf":[],"_links":{"self":[{"href":"https:\/\/liora.io\/en\/wp-json\/wp\/v2\/posts\/67611","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/liora.io\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/liora.io\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/liora.io\/en\/wp-json\/wp\/v2\/users\/85"}],"replies":[{"embeddable":true,"href":"https:\/\/liora.io\/en\/wp-json\/wp\/v2\/comments?post=67611"}],"version-history":[{"count":4,"href":"https:\/\/liora.io\/en\/wp-json\/wp\/v2\/posts\/67611\/revisions"}],"predecessor-version":[{"id":209784,"href":"https:\/\/liora.io\/en\/wp-json\/wp\/v2\/posts\/67611\/revisions\/209784"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/liora.io\/en\/wp-json\/wp\/v2\/media\/39759"}],"wp:attachment":[{"href":"https:\/\/liora.io\/en\/wp-json\/wp\/v2\/media?parent=67611"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/liora.io\/en\/wp-json\/wp\/v2\/categories?post=67611"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}