摘要:
#!/usr/bin/env python2 # -*- coding: utf-8 -*- import torch from torch.autograd import Variable tensor = torch.FloatTensor([[1, 2],[3, 4]]) #在BP的时候,pytorch是将Variable的梯度放在Variable对象中的, # 我们随时都可以使用... 阅读全文
posted @ 2017-05-06 21:28
xmeo
阅读(445)
评论(0)
推荐(0)

浙公网安备 33010602011771号