摘要: 批量归一化层BatchNorm 一.手写BatchNorm(用于理解) import torch from d2l import torch as d2l from torch import nn def batch_norm(X,gamma,beta,moving_mean,moving_val, 阅读全文
posted @ 2025-10-17 14:41 Annaprincess 阅读(9) 评论(0) 推荐(0)
摘要: GoogleNet 一.手写GoogleNet架构 import torch from d2l import torch as d2l from torch import nn from torch.nn import functional as F #1.Inception块 class Ince 阅读全文
posted @ 2025-10-17 10:57 Annaprincess 阅读(5) 评论(0) 推荐(0)