![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
动手学深度学习PyTorch版
qq_25900175
这个作者很懒,什么都没留下…
展开
-
动手学深度学习PyTorch版-GoogLeNet代码(PyTorch实现)
一、Inception 1、GoogLeNet由Inception基础块组成。 2、Inception块相当于⼀个有4条线路的⼦⽹络。它通过不同窗口形状的卷积层和最⼤池化层来并⾏抽取信息,并使⽤1×1卷积层减少通道数从而降低模型复杂度。 3、可以⾃定义的超参数是每个层的输出通道数,我们以此来控制模型复杂度。 导入所需要的包 import time import torch from torch ...原创 2020-02-18 10:28:57 · 1138 阅读 · 0 评论 -
动手学深度学习PyTorch版-线性回归代码(PyTorch实现)
1.首先先导入所用到的包 %matplotlib inline import torch from torch import nn import numpy as np torch.manual_seed(1) print(torch.__version__) torch.set_default_tensor_type('torch.FloatTensor') print(torch.__ve...原创 2020-02-12 11:03:07 · 317 阅读 · 0 评论