NNAPIDeviceInfo

Models & Types · AiDotNet.Deployment.Mobile.Android

Information about an NNAPI-capable device.

For Beginners

This class describes a hardware accelerator available for NNAPI. Android devices may have multiple accelerators (CPU, GPU, NPU, DSP) each with different capabilities and performance characteristics.

Constructors

Constructor Summary
NNAPIDeviceInfo()

Properties

Property Summary
NNAPIDevice Type { get; set; } Gets or sets the device type.
bool SupportsFp16 { get; set; } Gets or sets whether this device supports FP16 operations.
bool SupportsInt8 { get; set; } Gets or sets whether this device supports INT8 quantized operations.
int FeatureLevel { get; set; } Gets or sets the NNAPI feature level supported by this device.
int PerformanceScore { get; set; } Gets or sets the relative performance score (higher is faster, 0-100).
int PowerEfficiencyScore { get; set; } Gets or sets the relative power efficiency score (higher is more efficient, 0-100).
string Name { get; set; } Gets or sets the device name (e.g., “Qualcomm Adreno GPU”, “Google EdgeTPU”).