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

PyTorch

PyTorch, and most of the other deep learning frameworks, can be used for two different things:

  • Replacing NumPy-like operations with GPU-accelerated operations
  • Building deep neural networks

What makes PyTorch increasingly popular is its ease of use and simplicity. Unlike most other popular deep learning frameworks, which use static computation graphs, PyTorch uses dynamic computation, which allows greater flexibility in building complex architectures.

PyTorch extensively uses Python concepts, such as classes, structures, and conditional loops, allowing us to build DL algorithms in a pure object-oriented fashion. Most of the other popular frameworks bring their own programming style, sometimes making it complex to write new algorithms and it does not support intuitive debugging. In the later chapters, we will discuss computation graphs in detail.

Though PyTorch was released recently and is still in its beta version, it has become immensely popular among data scientists and deep learning researchers for its ease of use, better performance, easier-to-debug nature, and strong growing support from various companies such as SalesForce. 

As PyTorch was primarily built for research, it is not recommended for production usage in certain scenarios where latency requirements are very high. However, this is changing with a new project called Open Neural Network Exchange (ONNX) (https://onnx.ai/), which focuses on deploying a model developed on PyTorch to a platform like Caffe2 that is production-ready. At the time of writing, it is too early to say much about this project as it has only just been launched. The project is backed by Facebook and Microsoft.

Throughout the rest of the book, we will learn about the various Lego blocks (smaller concepts or techniques) for building powerful DL applications in the areas of computer vision and NLP. 

主站蜘蛛池模板: 饶阳县| 晋宁县| 台安县| 武乡县| 忻城县| 桦南县| 丰原市| 南澳县| 民勤县| 恩施市| 通辽市| 玉溪市| 宁安市| 永川市| 抚州市| 井冈山市| 积石山| 资兴市| 吉木萨尔县| 当雄县| 察雅县| 南涧| 嘉义县| 东乌珠穆沁旗| 邯郸市| 庐江县| 福鼎市| 温州市| 夏津县| 缙云县| 安国市| 迁安市| 玛曲县| 扶沟县| 固镇县| 新竹县| 江川县| 韶关市| 东乌珠穆沁旗| 新巴尔虎左旗| 承德市|