官术网_书友最值得收藏!

Chapter 2. A Simple Neural Network

Learning the PyTorch way of building a neural network is really important. It is the most efficient and clean way of writing PyTorch code, and it also helps you to find tutorials and sample snippets easy to follow, since they have the same structure. More importantly, you'll end up with the efficient form of your code, which is also highly readable.

Don't worry, PyTorch is not trying to add another spike into your learning curve by implementing a brand-new methodology. If you know how to code in Python, you'll feel at home right away. However, we won't learn those building blocks as we did in the first chapter; in this chapter, we will build a simple network. Instead of choosing a typical entry-level neural network use case, we'll be teaching our network to do mathematics in the NumPy way. Then we'll convert that to a PyTorch network. By the end of this chapter, you will have the skills to become a PyTorch developer.

主站蜘蛛池模板: 高阳县| 浦江县| 遵化市| 夏河县| 文山县| 乐亭县| 日土县| 乐平市| 永仁县| 阿坝| 武宣县| 张家口市| 汝城县| 云浮市| 稻城县| 德令哈市| 长子县| 玛多县| 轮台县| 青川县| 米易县| 靖西县| 客服| 友谊县| 米泉市| 望江县| 苍溪县| 东港市| 江阴市| 慈溪市| 大方县| 宜阳县| 云龙县| 渑池县| 莆田市| 宜丰县| 金川县| 高尔夫| 渑池县| 阳泉市| 青州市|