Quantizing Machine Learning Algorithms for Microcontroller Deployment | Coder Summit
From the series: Coder Summit
Microcontrollers such as Cortex-M processors are increasingly important in traditional machine learning algorithms such as linear SVM and k-means clustering, as well as shallow neural networks of five or fewer layers.
This video describes a general approach for a battery transducer algorithm that predicts current based on duty cycle using different voltages and temperatures. However, the application must fit within 3KB of RAM on the microcontroller. The approach uses MATLAB® to extract features to develop a trained classification model using the Classification Learner app. Deployment to microcontrollers and FPGAs is shown using automatic code generation.
However quantization using Fixed-Point Designer™ is critical to develop the fixed-point data types to satisfy the resource constraints on target hardware. We'll show how this approach reduces memory by 67% compared to the single-precision design.
Published: 30 Oct 2019
Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の MathWorks のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
- América Latina (Español)
- Canada (English)
- United States (English)
ヨーロッパ
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
アジア太平洋地域
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)