<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Tensorflow-Guides on AI VOID</title><link>https://ai-blog.noorshomelab.dev/tensorflow-guide/</link><description>Recent content in Tensorflow-Guides on AI VOID</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sun, 26 Oct 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://ai-blog.noorshomelab.dev/tensorflow-guide/index.xml" rel="self" type="application/rss+xml"/><item><title>TensorFlow Guide: Core Concepts - Tensors, Operations, and Graphs</title><link>https://ai-blog.noorshomelab.dev/tensorflow-guide/core-concepts-tensors-operations-graphs/</link><pubDate>Sun, 26 Oct 2025 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/tensorflow-guide/core-concepts-tensors-operations-graphs/</guid><description>&lt;h2 id="2-core-concepts-and-fundamentals"&gt;2. Core Concepts and Fundamentals&lt;/h2&gt;
&lt;p&gt;TensorFlow is built upon a few fundamental concepts that, once understood, unlock its full power. In this chapter, we&amp;rsquo;ll break down the core building blocks: Tensors, Operations, and the underlying concept of Graphs (even in TensorFlow 2.x&amp;rsquo;s eager execution model).&lt;/p&gt;
&lt;h3 id="21-tensors-the-universal-data-structure"&gt;2.1 Tensors: The Universal Data Structure&lt;/h3&gt;
&lt;p&gt;In TensorFlow, all data—whether it&amp;rsquo;s raw input, model weights, biases, or outputs—is represented as &lt;strong&gt;tensors&lt;/strong&gt;. A tensor is a multi-dimensional array, similar to NumPy arrays, but with the added benefit of being able to run on GPUs (for accelerated computation) and being part of a computation graph.&lt;/p&gt;</description></item><item><title>TensorFlow Guide: Building Your First Neural Network with Keras</title><link>https://ai-blog.noorshomelab.dev/tensorflow-guide/building-your-first-neural-network-with-keras/</link><pubDate>Sun, 26 Oct 2025 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/tensorflow-guide/building-your-first-neural-network-with-keras/</guid><description>&lt;h2 id="3-building-your-first-neural-network-with-keras"&gt;3. Building Your First Neural Network with Keras&lt;/h2&gt;
&lt;p&gt;Keras is a high-level API for building and training deep learning models, fully integrated into TensorFlow (&lt;code&gt;tf.keras&lt;/code&gt;). It&amp;rsquo;s designed for fast experimentation and ease of use, making it perfect for beginners. In this chapter, you&amp;rsquo;ll learn how to build, compile, and train your first neural networks using Keras.&lt;/p&gt;
&lt;h3 id="31-understanding-neural-network-basics"&gt;3.1 Understanding Neural Network Basics&lt;/h3&gt;
&lt;p&gt;Before we build, let&amp;rsquo;s briefly revisit what a neural network is at a high level:&lt;/p&gt;</description></item><item><title>TensorFlow Guide: Working with Data - `tf.data` API</title><link>https://ai-blog.noorshomelab.dev/tensorflow-guide/working-with-data-tf-data-api/</link><pubDate>Sun, 26 Oct 2025 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/tensorflow-guide/working-with-data-tf-data-api/</guid><description>&lt;h2 id="4-working-with-data-tfdata-api"&gt;4. Working with Data: &lt;code&gt;tf.data&lt;/code&gt; API&lt;/h2&gt;
&lt;p&gt;Efficiently loading, preprocessing, and feeding data to your models is crucial for performance, especially with large datasets. TensorFlow&amp;rsquo;s &lt;code&gt;tf.data&lt;/code&gt; API is designed to build high-performance input pipelines that are robust, flexible, and scalable.&lt;/p&gt;
&lt;h3 id="41-why-tfdata"&gt;4.1 Why &lt;code&gt;tf.data&lt;/code&gt;?&lt;/h3&gt;
&lt;p&gt;Traditional data loading often involves reading all data into memory or iterating over files one by one. This can be slow and memory-intensive. The &lt;code&gt;tf.data&lt;/code&gt; API solves this by:&lt;/p&gt;</description></item><item><title>TensorFlow Guide: Intermediate Topics - Custom Training Loops and Callbacks</title><link>https://ai-blog.noorshomelab.dev/tensorflow-guide/intermediate-tensorflow-custom-training-loops-callbacks/</link><pubDate>Sun, 26 Oct 2025 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/tensorflow-guide/intermediate-tensorflow-custom-training-loops-callbacks/</guid><description>&lt;h2 id="5-intermediate-topics"&gt;5. Intermediate Topics&lt;/h2&gt;
&lt;p&gt;While &lt;code&gt;model.fit()&lt;/code&gt; is incredibly convenient, sometimes you need more control over the training process. This chapter introduces two powerful intermediate topics: &lt;strong&gt;Custom Training Loops&lt;/strong&gt; for ultimate flexibility and &lt;strong&gt;Keras Callbacks&lt;/strong&gt; for customizing &lt;code&gt;model.fit()&lt;/code&gt; behavior.&lt;/p&gt;
&lt;h3 id="51-custom-training-loops-with-tfgradienttape"&gt;5.1 Custom Training Loops with &lt;code&gt;tf.GradientTape&lt;/code&gt;&lt;/h3&gt;
&lt;p&gt;A custom training loop gives you full control over every aspect of the training process, from calculating gradients to updating model weights. This is particularly useful for:&lt;/p&gt;</description></item><item><title>TensorFlow Guide: Advanced Topics - Distribution Strategies and TensorFlow Lite</title><link>https://ai-blog.noorshomelab.dev/tensorflow-guide/advanced-topics-distribution-strategies-tensorflow-lite/</link><pubDate>Sun, 26 Oct 2025 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/tensorflow-guide/advanced-topics-distribution-strategies-tensorflow-lite/</guid><description>&lt;h2 id="6-advanced-topics-and-best-practices"&gt;6. Advanced Topics and Best Practices&lt;/h2&gt;
&lt;p&gt;As you move beyond basic model building, two crucial aspects come into play for real-world applications: &lt;strong&gt;scaling your training&lt;/strong&gt; to leverage powerful hardware and &lt;strong&gt;deploying your models&lt;/strong&gt; to various environments, especially resource-constrained ones. This chapter covers TensorFlow&amp;rsquo;s Distribution Strategies and TensorFlow Lite.&lt;/p&gt;
&lt;h3 id="61-distribution-strategies-scaling-your-training"&gt;6.1 Distribution Strategies: Scaling Your Training&lt;/h3&gt;
&lt;p&gt;Training large models on massive datasets can be time-consuming. TensorFlow&amp;rsquo;s &lt;code&gt;tf.distribute.Strategy&lt;/code&gt; API allows you to easily distribute your training across multiple GPUs, multiple machines, or even Google&amp;rsquo;s TPUs (Tensor Processing Units) with minimal changes to your code.&lt;/p&gt;</description></item><item><title>TensorFlow Guide: Guided Project 1 - Image Classification with CNNs</title><link>https://ai-blog.noorshomelab.dev/tensorflow-guide/guided-project-1-image-classification-with-cnns/</link><pubDate>Sun, 26 Oct 2025 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/tensorflow-guide/guided-project-1-image-classification-with-cnns/</guid><description>&lt;h2 id="7-guided-project-1-image-classification-with-cnns"&gt;7. Guided Project 1: Image Classification with CNNs&lt;/h2&gt;
&lt;p&gt;This project will guide you through building a Convolutional Neural Network (CNN) to classify images from the CIFAR-10 dataset. CIFAR-10 consists of 60,000 32x32 color images in 10 classes (e.g., airplane, automobile, bird, cat). This project will solidify your understanding of data pipelines, model building with Keras, and training strategies.&lt;/p&gt;
&lt;h3 id="project-objective"&gt;Project Objective&lt;/h3&gt;
&lt;p&gt;Build and train a CNN model capable of classifying CIFAR-10 images with reasonable accuracy.&lt;/p&gt;</description></item><item><title>TensorFlow Guide: Guided Project 2 - Text Generation with LSTMs</title><link>https://ai-blog.noorshomelab.dev/tensorflow-guide/guided-project-2-text-generation-with-lstms/</link><pubDate>Sun, 26 Oct 2025 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/tensorflow-guide/guided-project-2-text-generation-with-lstms/</guid><description>&lt;h2 id="8-guided-project-2-text-generation-with-lstms"&gt;8. Guided Project 2: Text Generation with LSTMs&lt;/h2&gt;
&lt;p&gt;In this project, you&amp;rsquo;ll build a character-level text generation model using Long Short-Term Memory (LSTM) networks, a type of Recurrent Neural Network (RNN). The model will learn patterns in text and then be able to generate new sequences of characters, essentially writing new &amp;ldquo;sentences&amp;rdquo; based on what it learned.&lt;/p&gt;
&lt;h3 id="project-objective"&gt;Project Objective&lt;/h3&gt;
&lt;p&gt;Build an LSTM-based model to generate creative text, trained on a classic text dataset. We&amp;rsquo;ll use a portion of Shakespeare&amp;rsquo;s works.&lt;/p&gt;</description></item><item><title>TensorFlow Guide: Further Learning and Resources</title><link>https://ai-blog.noorshomelab.dev/tensorflow-guide/further-learning-and-resources/</link><pubDate>Sun, 26 Oct 2025 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/tensorflow-guide/further-learning-and-resources/</guid><description>&lt;h2 id="9-bonus-section-further-learning-and-resources"&gt;9. Bonus Section: Further Learning and Resources&lt;/h2&gt;
&lt;p&gt;Congratulations on making it this far! You&amp;rsquo;ve built a strong foundation in TensorFlow 2.20.0, from basic tensors to building and deploying complex deep learning models. The world of machine learning is vast and ever-evolving, and continuous learning is key. Here&amp;rsquo;s a curated list of resources to help you continue your journey.&lt;/p&gt;
&lt;h3 id="recommended-online-coursestutorials"&gt;Recommended Online Courses/Tutorials&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;TensorFlow in Practice Specialization (DeepLearning.AI on Coursera)&lt;/strong&gt;: Taught by Laurence Moroney, this specialization is excellent for a practical, code-first approach to TensorFlow, covering CNNs, LSTMs, and more.
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.coursera.org/specializations/tensorflow-in-practice"&gt;Link to Coursera Specialization&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Deep Learning Specialization (DeepLearning.AI on Coursera)&lt;/strong&gt;: Taught by Andrew Ng, this covers the foundational theory of deep learning with practical applications, often using TensorFlow/Keras.
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.coursera.org/specializations/deep-learning"&gt;Link to Coursera Specialization&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Udemy/edX Courses&lt;/strong&gt;: Search for &amp;ldquo;TensorFlow 2.x&amp;rdquo; or &amp;ldquo;Deep Learning with Python and Keras&amp;rdquo; on platforms like Udemy or edX for project-based courses. Look for courses updated for TensorFlow 2.x and Keras.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="official-documentation"&gt;Official Documentation&lt;/h3&gt;
&lt;p&gt;The official documentation is your ultimate source for in-depth information, API references, and up-to-date guides.&lt;/p&gt;</description></item><item><title/><link>https://ai-blog.noorshomelab.dev/tensorflow-guide/introduction-to-tensorflow/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/tensorflow-guide/introduction-to-tensorflow/</guid><description/></item></channel></rss>