摘要: A DataLoader wraps a Dataset and provides minibatching, shuffling, multithreading, for you。 阅读全文
posted @ 2017-07-21 23:56 Joyce_song94 阅读(3878) 评论(0) 推荐(0) 编辑
摘要: method 1 method 2 PyTorch nn Define new Modules 阅读全文
posted @ 2017-07-21 23:37 Joyce_song94 阅读(7668) 评论(0) 推荐(0) 编辑
摘要: Tensors的一些应用 阅读全文
posted @ 2017-07-21 20:46 Joyce_song94 阅读(206) 评论(0) 推荐(0) 编辑
摘要: PyTorch Tensors are just like numpy arrays, but they can run on GPU.No built-in notion of computational graph, or gradients, or deep learning.Here we 阅读全文
posted @ 2017-07-21 17:20 Joyce_song94 阅读(869) 评论(0) 推荐(0) 编辑
摘要: 1. **args, **kwargs的区别 2. np.sum 3. use numpy to solve grad PyTorch自动计算梯度 x is a variable, requires_grad=True. x.data is a tensor. x.grad is a variabl 阅读全文
posted @ 2017-07-21 16:17 Joyce_song94 阅读(1490) 评论(0) 推荐(0) 编辑