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> getEpMetadata()
      Gets an unmodifiable view on the Execution Provider metadata.
      java.lang.String getEpName()
      Gets the Execution Provider name.
      java.util.Map<java.lang.String,​java.lang.String> getEpOptions()
      Gets an unmodifiable view on the Execution Provider options.
      java.lang.String getEpVendor()
      Gets the Execution Provider 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

      • getEpName

        public java.lang.String getEpName()
        Gets the Execution Provider name.
        Returns:
        The EP name.
      • getEpVendor

        public java.lang.String getEpVendor()
        Gets the Execution Provider vendor name.
        Returns:
        The EP vendor name.
      • getEpMetadata

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

        public java.util.Map<java.lang.String,​java.lang.String> getEpOptions()
        Gets an unmodifiable view on the Execution Provider 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