随笔分类 -  Neural network

Neural network backward_update paramater
摘要:import torch from torch.autograd import Variable import torch.nn as nn import torch.nn.functional as F import torch.optim as optim # 定义网络 class Net(nn 阅读全文
posted @ 2021-06-27 10:43 A2he 阅读(47) 评论(0) 推荐(0)
backward的理解
摘要:import torch from torch.autograd import Variable import torch.nn as nn import torch.nn.functional as F #反向传播 x = torch.ones(2, 2, requires_grad=True) 阅读全文
posted @ 2021-06-27 10:38 A2he 阅读(181) 评论(0) 推荐(0)
卷积神经网络的网络层与参数的解析
摘要:参考博主:https://blog.csdn.net/weixin_41457494/article/details/86238443 import torch from torch.autograd import Variable import torch.nn as nn import torc 阅读全文
posted @ 2021-06-27 10:23 A2he 阅读(166) 评论(0) 推荐(0)