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

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.

主站蜘蛛池模板: 西吉县| 松溪县| 来凤县| 万宁市| 翁源县| 宜昌市| 富锦市| 远安县| 黄龙县| 资溪县| 根河市| 商洛市| 萨嘎县| 华蓥市| 郴州市| 济宁市| 上蔡县| 若尔盖县| 峨山| 合川市| 滦南县| 本溪| 赤水市| 临桂县| 科技| 石棉县| 定边县| 滨海县| 太康县| 璧山县| 乐昌市| 黑山县| 会东县| 南澳县| 涟水县| 吐鲁番市| 南宫市| 宜宾县| 长子县| 芮城县| 兴国县|