Macros | |
| #define | ARM_NN_ENABLE_AOT 0 |
| Ahead-of-time (AOT) feature gate for integer operators. | |
| #define | ARM_NN_FLOAT_API_ENABLED (ARM_NN_ENABLE_F32 || ARM_NN_ENABLE_F16) |
| Optional feature gates for floating-point extensions. | |
| #define ARM_NN_ENABLE_AOT 0 |
Ahead-of-time (AOT) feature gate for integer operators.
Disabled by default to protect the legacy integer APIs and parameter layouts. Once callers have migrated to the updated APIs, this flag can be removed. Library and callers must use the same setting during the transition. Floating-point weight preparation is independent of this flag.
| #define ARM_NN_FLOAT_API_ENABLED (ARM_NN_ENABLE_F32 || ARM_NN_ENABLE_F16) |
Optional feature gates for floating-point extensions.
These are disabled by default so integer-only builds keep their current code size and API surface. The float16 feature gate still depends on toolchain and target support such as ARM_FLOAT16_SUPPORTED where applicable.