PyTorch v0.2.0 已发布,这是 PyTorch 的下一个主要版本,该版本引入了期待已久的功能:广播、高级索引、高阶梯度、新图层,以及分布式 PyTorch。
由于引入了广播,某些在广播情况下的代码的行为会与 0.1.12 中的不同。这可能会导致您现有代码中会出现不报错的 bug。我们在“Important Breakages and Workarounds”部分中提供了轻松识别这些模糊代码的方法。
新功能:
Tensor Broadcasting (numpy-style)
Advanced Indexing for Tensors and Variables
Higher-order gradients
Distributed PyTorch (multi-node training, etc.)
Neural Network layers and features: SpatialTransformers, WeightNorm, EmbeddingBag, etc.
New in torch and autograd: matmul, inverse, etc.
Easier debugging, better error messages
Bug Fixes
Important Breakages and Workarounds
点此查看 0.2.0 版文档。
更多内容请查看 GitHub 发布主页。
下载地址
来源: http://www.phperz.com/article/17/0808/344079.html