Notes on Section 5.4

bobown_yao

这一部分主要讲述构建自定义层

以下分别是一个带参数的层和不带参数的层的样例

1. 在__init__中规定需要的参数

2. 在forward函数中规定计算方式

Image: image_001

Image: image_002

Image: image_003

Image: image_004

  • Title: Notes on Section 5.4
  • Author: bobown_yao
  • Created at : 2026-01-05 00:00:00
  • Updated at : 2026-01-17 16:19:05
  • Link: https://bobownyao.github.io/2026/01/05/Notes-on-Section-5-4/
  • License: All Rights Reserved © bobown_yao