摘要: Transformer原理读书报告 报告人:彭启皓 报告日期:2025年12月26日 参考资料:《Attention Is All You Need》论文、Transformer技术迭代相关文献及行业分析报告 一、核心内容总览 Transformer作为2017年由Google团队提出的深度学习架构 阅读全文
posted @ 2025-12-29 11:30 彭66 阅读(35) 评论(0) 推荐(0)
摘要: import torch import torch.nn as nn import torch.optim as optim from torch.utils.data import DataLoader from torchvision import datasets, transforms 1. 阅读全文
posted @ 2025-12-26 11:50 彭66 阅读(16) 评论(0) 推荐(0)
摘要: import torchvision.transforms as transforms import numpy as np import random device = torch.device('cuda' if torch.cuda.is_available() else 'cpu') pri 阅读全文
posted @ 2025-12-26 11:49 彭66 阅读(18) 评论(0) 推荐(0)
摘要: import torch import torch.nn as nn import random 超参数 N_max = 10 # 最大 n 值(训练时用) input_size = 4 # 字符集大小:'0', '1', , hidden_size = 64 output_size = input 阅读全文
posted @ 2025-12-11 23:41 彭66 阅读(11) 评论(0) 推荐(0)
摘要: import os import numpy as np import pandas as pd from PIL import Image import torch import torch.nn as nn import torch.optim as optim from torch.utils 阅读全文
posted @ 2025-11-06 12:04 彭66 阅读(21) 评论(0) 推荐(0)
摘要: 深度学习之神经网络:原理、演进与实践探索 ——基于CIFAR-10图像分类任务的实践分析 一、引言:神经网络的核心价值与研究背景 在人工智能技术爆发的当下,神经网络作为深度学习的核心载体,彻底改变了机器感知世界的方式。从图像识别、自然语言处理到自动驾驶,其通过模拟人类大脑神经元的连接模式,实现了对复 阅读全文
posted @ 2025-10-15 21:02 彭66 阅读(51) 评论(0) 推荐(0)
摘要: import torch import torch.nn as nn import torch.optim as optim from torchvision import datasets, transforms from torch.utils.data import DataLoader im 阅读全文
posted @ 2025-10-15 20:57 彭66 阅读(15) 评论(0) 推荐(0)
摘要: import pygame import random import sys 初始化pygame pygame.init() 定义颜色 WHITE = (255, 255, 255) BLACK = (0, 0, 0) RED = (255, 0, 0) GREEN = (0, 255, 0) BL 阅读全文
posted @ 2025-06-21 15:05 彭66 阅读(26) 评论(0) 推荐(0)
摘要: 在当今数字化飞速发展的时代,编程技能已成为一项极具竞争力的能力。而Python,以其简洁易读的语法、丰富的库和广泛的应用领域,成为了我踏入编程世界的首选语言。经过一段时间的学习与实践,我对Python有了更为深入的理解和感悟,以下便是我的Python学习心得。 最初接触Python时,我就被它简洁明 阅读全文
posted @ 2025-06-21 14:34 彭66 阅读(54) 评论(0) 推荐(0)
摘要: 简易植物大战僵尸模拟 学号后四位是 3018,这里作为特殊标志 定义植物类 class Plant: def init(self, name, attack): self.name = name self.attack = attack def attack_zombie(self, zombie) 阅读全文
posted @ 2025-06-21 13:00 彭66 阅读(43) 评论(0) 推荐(0)