
eBook - ePub
Ultimate ONNX for Deep Learning Optimization
Design, Optimize, and Deploy Deep Learning Models Using ONNX for Scalable Production and Edge AI Systems (English Edition)
- English
- ePUB (mobile friendly)
- Available on iOS & Android
eBook - ePub
Ultimate ONNX for Deep Learning Optimization
Design, Optimize, and Deploy Deep Learning Models Using ONNX for Scalable Production and Edge AI Systems (English Edition)
About this book
Bringing Deep Learning Models to the Edge Efficiently Using ONNX.Key Features? Master end-to-end ONNX workflows from framework export models to edge deployment.? Hands-on optimization techniques like quantization, pruning and knowledge distillation for real-world edge AI performance.? Production-grade case studies across vision, speech, and language models on edge devices.Book DescriptionONNX has emerged as the de facto standard for deploying portable, framework-agnostic machine learning models across diverse hardware platforms.Ultimate ONNX for Deep Learning Optimization provides a structured, end-to-end guide to the ONNX ecosystem, starting with ONNX fundamentals, model representation, and framework integration. You will learn how to export models from PyTorch, TensorFlow, and Scikit-Learn, inspect and modify ONNX graphs, and leverage ONNX Runtime and ONNX Simplifier for inference optimization. Each chapter builds technical depth, equipping you with the tools required to move models beyond experimentation.The book focuses on performance-critical optimization techniques, including quantization, pruning, and knowledge distillation, followed by practical deployment on edge devices such as Raspberry Pi. Through complete, real-world case studies covering object detection, speech recognition, and compact language models, you can implement custom operators, follow deployment best practices, and understand production constraints. Thus, by the end of this book, you will be capable of designing, optimizing, and deploying efficient ONNX-based AI systems for edge environments.What you will learn? Design and understand ONNX models, graphs, operators, and runtimes.? Convert and integrate models from PyTorch, TensorFlow, and Scikit-Learn.? Optimize inference using graph simplification, quantization, and pruning.? Apply knowledge distillation to retain accuracy on constrained devices.? Deploy and benchmark ONNX models on Raspberry Pi and edge hardware.? Build custom ONNX operators, and extend models beyond standard layers.Table of Contents1. Introduction to ONNX and Edge Computing2. Getting Started with ONNX3. ONNX Integration with Deep Learning Frameworks4. Model Optimization Using ONNX Simplifier and ONNX Runtime5. Model Quantization Using ONNX Runtime6. Model Pruning in Pytorch and Exporting to ONNX7. Knowledge Distillation for Edge AI8. Deploying ONNX Models on Edge Devices9. End to End Execution of YOLOv1210. End to End Execution of Whisper Speech Recognition Model11. End to End Execution of SmolLM Model12. ONNX Model from Scratch and Custom Operators13. Real-World Applications, Best Practices, Security, and Future Trends in ONNX for Edge AI IndexAbout the AuthorsMeet Patel is a machine learning engineer with over seven years of expertise dedicated to a singular challenge, that is, making Artificial Intelligence (AI) faster, smaller, and more efficient. His passion lies in unlocking the potential of AI on resource-constrained devices, pushing models fr
Trusted by 375,005 students
Access to over 1.5 million titles for a fair monthly price.
Study more efficiently using our study tools.
Information
Table of contents
- Cover Page
- Title Page
- Copyright Page
- Dedication Page
- About the Author
- About the Technical Reviewer
- Acknowledgements
- Preface
- Get a Free eBook
- Errata
- Table of Contents
- 1. Introduction to ONNX and Edge Computing
- 2. Getting Started with ONNX
- 3. ONNX Integration with Deep Learning Frameworks
- 4. Model Optimization Using ONNX Simplifier and ONNX Runtime
- 5. Model Quantization Using ONNX Runtime
- 6. Model Pruning in Pytorch and Exporting to ONNX
- 7. Knowledge Distillation for Edge AI
- 8. Deploying ONNX Models on Edge Devices
- 9. End to End Execution of YOLOv12
- 10. End to End Execution of Whisper Speech Recognition Model
- 11. End to End Execution of SmolLM Model
- 12. ONNX Model from Scratch and Custom Operators
- 13. Real-World Applications, Best Practices, Security, and Future Trends in ONNX for Edge AI
- Index
Frequently asked questions
Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.5M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1.5 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Ultimate ONNX for Deep Learning Optimization by Meet Patel in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Vision & Pattern Recognition. We have over 1.5 million books available in our catalogue for you to explore.