摘要: import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim from torchvision import datasets, transforms import mat 阅读全文
posted @ 2025-12-25 18:59 林leo 阅读(0) 评论(0) 推荐(0)
摘要: import torch import torch.nn as nn import torch.optim as optim from torch.utils.data import Dataset, DataLoader import torchvision.transforms as trans 阅读全文
posted @ 2025-12-25 18:58 林leo 阅读(0) 评论(0) 推荐(0)
摘要: PyTorch学习报告 近期,我观看了B站2025最新版《Transformer最强动画讲解》教程,这部视频以“理论可视化+PyTorch代码实战化”的双轨模式,将Transformer架构的复杂原理拆解得通俗易懂,不仅让我对这一深度学习里程碑式的模型建立了系统性认知,更深入掌握了PyTorch框架 阅读全文
posted @ 2025-12-25 18:54 林leo 阅读(0) 评论(0) 推荐(0)
摘要: import torch import torch.nn as nn import torch.optim as optim import numpy as np def generate_data(num_samples): data = [] for _ in range(num_samples 阅读全文
posted @ 2025-11-26 21:35 林leo 阅读(6) 评论(0) 推荐(0)
摘要: import torch import torch.nn as nn import torch.optim as optim import torchvision import torchvision.transforms as transforms import matplotlib.pyplot 阅读全文
posted @ 2025-11-06 21:11 林leo 阅读(14) 评论(0) 推荐(0)
摘要: 神经网络读书报告 一、引言 神经网络是人工智能领域的核心技术之一,它通过模拟生物神经元的工作机制,实现对复杂数据的特征学习与模式识别。近年来,深度学习的兴起让神经网络在图像分类、自然语言处理、自动驾驶等领域展现出突破性能力。本次读书围绕神经网络的基础理论、经典模型及实践应用展开,结合教材中对 Ale 阅读全文
posted @ 2025-10-15 20:31 林leo 阅读(29) 评论(0) 推荐(0)
摘要: 代码 import torch import torch.nn as nn import torch.optim as optim import torchvision import torchvision.transforms as transforms import matplotlib.pyp 阅读全文
posted @ 2025-10-15 20:23 林leo 阅读(28) 评论(0) 推荐(0)
摘要: ![](https://img2024.cnblogs.com/blog/3608514/202506/3608514-20250620221225789-883396409.png) 阅读全文
posted @ 2025-06-20 22:12 林leo 阅读(8) 评论(0) 推荐(0)
摘要: Python学习心得与体会 初次接触Python,其简洁的语法宛如一股清流,瞬间吸引了我的目光。不同于其他编程语言繁杂的括号与分号,Python的简洁让程序逻辑一目了然。即便是编程新手,也能轻松理解代码结构,快速上手。列表、字典、集合等丰富的数据类型,与简洁语法相辅相成,使得数据处理变得高效直观。仅 阅读全文
posted @ 2025-06-20 21:46 林leo 阅读(45) 评论(0) 推荐(0)
摘要: import pygame import random import sys import time pygame.init() SCREEN_WIDTH = 800 SCREEN_HEIGHT = 600 screen = pygame.display.set_mode((SCREEN_WIDTH 阅读全文
posted @ 2025-06-20 21:33 林leo 阅读(15) 评论(0) 推荐(0)