Class OrtHardwareDevice

java.lang.Object
ai.onnxruntime.OrtHardwareDevice

public final class OrtHardwareDevice extends Object
Hardware information for a specific device.
  • 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

      public Map<String,String> getMetadata()
      Gets an unmodifiable view on the device metadata.
      Returns:
      The device metadata.
    • getVendor

      public String getVendor()
      Gets the vendor name.
      Returns:
      The vendor name.
    • toString

      public String toString()
      Overrides:
      toString in class Object