Package ai.onnxruntime
Class OrtEpDevice
- java.lang.Object
-
- ai.onnxruntime.OrtEpDevice
-
public final class OrtEpDevice extends java.lang.ObjectA tuple of Execution Provider information and the hardware device.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OrtHardwareDevicegetDevice()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.StringgetEpName()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.StringgetEpVendor()Gets the Execution Provider vendor name.java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
-