Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
PyTorch Deep Learning Hands-On

You're reading from   PyTorch Deep Learning Hands-On Build CNNs, RNNs, GANs, reinforcement learning, and more, quickly and easily

Arrow left icon
Product type Paperback
Published in Apr 2019
Publisher Packt
ISBN-13 9781788834131
Length 250 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Sherin Thomas Sherin Thomas
Author Profile Icon Sherin Thomas
Sherin Thomas
Sudhanshu Passi Sudhanshu Passi
Author Profile Icon Sudhanshu Passi
Sudhanshu Passi
Arrow right icon
View More author details
Toc

ONNX

The ONNX protocol was built to create interoperability between different frameworks. This helps AI developers and organizations to choose the right framework to develop AI models where they spend most of their time. Once the development and training phases are over, they can migrate the model to any framework of their choice to serve it in production.

Different frameworks could be optimized for different purposes, such as mobile deployment, readability and flexibility, production deployment, and others. Converting the model to different frameworks is sometimes inevitable and manual conversion is time-consuming. This is another use case that ONNX is trying to solve with interoperability.

Let's take any framework example to see where ONNX is going to fit in. The framework will have a language API, which is used by developers, then a graph representation of the model developed by them. This IR then goes to the highly optimized runtime for execution. ONNX provides a unified standard...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime