基于pytorch比较sigmoid和relu函数梯度下降速度
import torch
import torch.nn as nn
from torch.autograd import Variable
import torch.optim
import matplotlib.pyplot as plt
X = torch.Tensor([[1, 2], [2, 2], [2, 1], [1, 1], [4, 4], [4, 5], [5, 4], [...
原创
2019-05-21 21:19:46 ·
487 阅读 ·
0 评论