Package ai.onnxruntime
Class OrtEpDevice
- java.lang.Object
-
- ai.onnxruntime.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()
-
-
-
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 classjava.lang.Object
-
-