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

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.

主站蜘蛛池模板: 武城县| 新营市| 内黄县| 黄山市| 讷河市| 平果县| 巴楚县| 略阳县| 喀喇沁旗| 巴青县| 和龙市| 新邵县| 托克逊县| 松桃| 无锡市| 九台市| 汝州市| 河源市| 澄江县| 重庆市| 尉犁县| 洪江市| 扎赉特旗| 龙游县| 洪江市| 渭南市| 新昌县| 海丰县| 中宁县| 邢台市| 怀化市| 绥阳县| 巴彦淖尔市| 昌都县| 周口市| 湘阴县| 潮州市| 青海省| 浙江省| 资阳市| 康乐县|