Logistic回归,多层全连接前向网络以及反向传播算法
import matplotlib.pyplot as plt
from torch import nn, optim
import numpy as np
import torch
from torch.autograd import Variable
# 设置字体为中文
plt.rcParams['font.sans-serif'] = ['SimHei']
plt.rcParams['ax...
转载
2019-10-20 21:26:03 ·
314 阅读 ·
0 评论