小行星

热爱平淡,向往未知

  • Home
  • Categories
  • Archives
  • About
  • top
  • Search
  • Table of Contents
  • Overview

fangyh

最爱的是那苍穹之外的浩渺宇宙
597 posts
4 categories
66 tags
0%

pytorch比较weight

Posted on 2018-08-Sat Views: Views:
1
2
3
4
5
a = list(self.parameters())[0].clone()
loss.backward()
self.optimizer.step()
b = list(self.parameters())[0].clone()
torch.equal(a.data, b.data)
pytorch dropout自动调整
pytorch variable out[out > 0] = 1
© 2022 fangyh
Powered by Hexo & NexT.Muse