Package ai.onnxruntime
Class OrtHardwareDevice
java.lang.Object
ai.onnxruntime.OrtHardwareDevice
Hardware information for a specific device.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe hardware device types. -
Method Summary
-
Method Details
-
getType
Gets the device type.- Returns:
- The device type.
-
getVendorId
public int getVendorId()Gets the vendor ID number.- Returns:
- The vendor ID number.
-
getDeviceId
public int getDeviceId()Gets the device ID number.- Returns:
- The device ID number.
-
getMetadata
Gets an unmodifiable view on the device metadata.- Returns:
- The device metadata.
-
getVendor
Gets the vendor name.- Returns:
- The vendor name.
-
toString
-