Class OrtEpDevice


  • public final class OrtEpDevice
    extends java.lang.Object
    A tuple of Execution Provider information and the hardware device.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      OrtHardwareDevice getDevice()
      Gets the device information.
      java.util.Map<java.lang.String,​java.lang.String> getMetadata()
      Gets an unmodifiable view on the EP metadata.
      java.lang.String getName()
      Gets the EP name.
      java.util.Map<java.lang.String,​java.lang.String> getOptions()
      Gets an unmodifiable view on the EP options.
      java.lang.String getVendor()
      Gets the vendor name.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getName

        public java.lang.String getName()
        Gets the EP name.
        Returns:
        The EP name.
      • getVendor

        public java.lang.String getVendor()
        Gets the vendor name.
        Returns:
        The vendor name.
      • getMetadata

        public java.util.Map<java.lang.String,​java.lang.String> getMetadata()
        Gets an unmodifiable view on the EP metadata.
        Returns:
        The EP metadata.
      • getOptions

        public java.util.Map<java.lang.String,​java.lang.String> getOptions()
        Gets an unmodifiable view on the EP options.
        Returns:
        The EP options.
      • getDevice

        public OrtHardwareDevice getDevice()
        Gets the device information.
        Returns:
        The device information.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object