08 2023 档案

摘要:```python import torch from torch import nn from d2l import torch as d2l # 经典数据集与batch size batch_size = 256 train_iter, test_iter = d2l.load_data_fas 阅读全文
posted @ 2023-08-31 11:59 AncilunKiang 阅读(271) 评论(0) 推荐(0) 编辑
摘要:```python %matplotlib inline import torch from d2l import torch as d2l ``` # 4.1.1 隐藏层 整节理论,详见书本。 以下展示常见的激活函数。 1. ReLU 函数 $$ \mathrm{ReLU}(x)=\max(x,0 阅读全文
posted @ 2023-08-30 21:39 AncilunKiang 阅读(81) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示