Contenu principal

Data type (ARM Compute)

R2026b

(To be removed) Inference computation precision

The coder.ARMNEONConfig object and its Data type (ARM Compute) parameter will be removed in a future release. Instead, create a deep learning configuration object by using the coder.DeepLearningConfig function with the target library set to "none" to generate generic C/C++ code that does not depend on any third-party library. The "none" target library workflow is more capable in MATLAB® and Simulink®, and supports a larger set of layers.

Description

App Configuration Pane: Deep Learning

Configuration Objects: coder.ARMNEONConfig

Specify the precision of the inference computations in supported layers.

Dependencies

To enable this parameter, you must set Deep learning library to ARM Compute.

Settings

fp32

This setting is the default setting.

Inference computation is performed in 32-bit floats.

int8

Inference computation is performed in 8-bit integers.

Programmatic Use

Property: DataType
Values: 'fp32' | 'int8'
Default: 'fp32'

Version History

Introduced in R2021a

collapse all