AI Agent Hub

Blog

In-depth articles on AI agents, LLM engineering, servers, Python and software development.

📝
Implementing the Bubble Sort Algorithm in Java
Dec 09, 2025 · Sorting Algorithms

Bubble Sort is a basic sorting algorithm whose core idea is to repeatedly compare adjacent elements and swap their positions, allowing larger elements to "bubble up" to the end of the array (in ascend

# Java Bubble Sort # Bubble Sort Algorithm # Java Sorting Implementation 642 views
📝
Introduction to PyTorch Neural Networks: Fully Connected Layers and Backpropagation Principles
Dec 09, 2025 · PyTorch Beginner's Tutorial

This paper introduces the basics of PyTorch neural networks, with a core focus on fully connected layers and backpropagation. A fully connected layer enables full connectivity between neurons of the p

# Introduction to PyTorch Neural Networks # Principle of Fully Connected Layer # Backpropagation Tutorial 898 views
📝
Quick Start with PyTorch: Tensor Dimension Transformation and Common Operations
Dec 09, 2025 · PyTorch Beginner's Tutorial

This article introduces the core knowledge of PyTorch tensors, including basics, dimension transformations, common operations, and exercise suggestions. Tensors are the basic structure for storing dat

# Deep Learning # Tensor Operation # Introduction to PyTorch 837 views
📝
PyTorch Basics Tutorial: Practical Data Loading with Dataset and DataLoader
Dec 09, 2025 · PyTorch Beginner's Tutorial

Data loading is a crucial step in machine learning training, and PyTorch's `Dataset` and `DataLoader` are core tools for efficient data management. As an abstract base class for data storage, `Dataset

# PyTorch Dataset # DataLoader Practical Application # PyTorch Data Loading 770 views
📝
Playing with PyTorch from Scratch: Data Visualization and Model Evaluation Techniques
Dec 09, 2025 · PyTorch Beginner's Tutorial

This article introduces core skills of data visualization and model evaluation in PyTorch to facilitate efficient model debugging. For data visualization, Matplotlib can observe data distributions (e.

# PyTorch Data Visualization # PyTorch Model Evaluation # TensorBoard Practical Tutorial 649 views
📝
PyTorch Beginner's Guide: Understanding Model Construction with Simple Examples
Dec 09, 2025 · PyTorch Beginner's Tutorial

This PyTorch beginner's tutorial covers core knowledge points: PyTorch is Python-based with obvious advantages in dynamic computation graphs and simple installation (`pip install torch`). The core dat

# Introduction to PyTorch # Linear Regression # Deep Learning 709 views
📝
Beginner-Friendly: Basics of PyTorch Loss Functions and Training Loops
Dec 09, 2025 · PyTorch Beginner's Tutorial

This article introduces the roles and implementation of loss functions and training loops in machine learning. Loss functions measure the gap between model predictions and true labels, while training

# PyTorch Loss Functions # Training Loop # Mean Squared Error (MSE) Loss 729 views
📝
Introduction to PyTorch Optimizers: Practical Implementation of Optimization Algorithms like SGD and Adam
Dec 09, 2025 · PyTorch Beginner's Tutorial

### Optimizers: The "Navigation System" for Deep Learning Optimizers are core tools in deep learning for updating model parameters and minimizing loss functions, similar to a navigation system when c

# PyTorch Optimizer # SGD Optimizer # Adam Optimizer 1,156 views
📝
Learning PyTorch from Scratch: A Basic Explanation of Activation Functions and Convolutional Layers
Dec 09, 2025 · PyTorch Beginner's Tutorial

### Overview of Activation Functions and Convolutional Layers **Activation Functions**: Neural networks require non-linear transformations to fit complex relationships, and activation functions int

# PyTorch Activation Functions # Basic Convolutional Layer # ReLU Sigmoid Tanh 807 views
📝
Beginner's Guide to PyTorch: A Practical Tutorial on Data Loading and Preprocessing
Dec 09, 2025 · PyTorch Beginner's Tutorial

Data loading and preprocessing are crucial foundations for training deep learning models, and PyTorch efficiently implements this through tools like `Dataset`, `DataLoader`, and `transforms`. As a dat

# PyTorch Data Loading # Data Preprocessing # Deep Learning Practical Application 806 views