摘要:
行是样本,列是feather特征: 激活函数: 损失函数和优化器: 写代码步骤: np.loadtxt()方法: numpy.loadtxt(fname, dtype=float, comments='#', delimiter=None, converters=None, skiprows=0, 阅读全文
摘要:
注意torch.Tensor()和torch.tensor()的区别 点击查看代码 import torch import torch.nn.functional as F x_data = torch.Tensor([[1.0], [2.0], [3.0]]) y_data = torch.Ten 阅读全文