Skip to content

Get Device Attributes

netspresso.np_qai.base.NPQAIBase.get_device_attributes()

Get a list of device attributes from the QAI Hub.

Returns:

Type Description
List[str]

List[str]: Returns a list of device attribute strings if successful.

Note

For details, see get_device_attributes in QAI Hub API.

Example

from netspresso import NPQAI

QAI_HUB_API_TOKEN = "YOUR_QAI_HUB_API_TOKEN"
np_qai = NPQAI(api_token=QAI_HUB_API_TOKEN)
device_attributes = np_qai.get_device_attributes()