
pytorch
Douhh_sisy
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
pytorch搭建神经网络(回归)
import torch import torch.nn.functional as F # 激励函数都在这 x = torch.unsqueeze(torch.linspace(-1, 1, 100), dim=1) # x data (tensor), shape=(100, 1) y = x.pow(2) + 0.2*torch.rand(x.size()) ...原创 2018-06-26 20:08:37 · 3120 阅读 · 0 评论 -
pytorch搭建神经网络(回归)
import torch import torch.nn.functional as F # 激励函数都在这 x = torch.unsqueeze(torch.linspace(-1, 1, 100), dim=1) # x data (tensor), shape=(100, 1) y = x.pow(2) + 0.2*torch.rand(x.size()) ...原创 2018-06-26 20:11:02 · 977 阅读 · 0 评论