public class InferenceException
- Object
- Throwable
- Exception
- RuntimeException
- InferenceException
Reports model validation, delegate selection, allocation, or invocation
failures from the portable inference API.
Constructors
public InferenceException(String message) | Creates an inference failure with a user-readable explanation. |
public InferenceException(String message, Throwable cause) | Creates an inference failure that preserves the native/port cause. |
Inherited methods
Constructor details
InferenceException
public InferenceException(String message)Creates an inference failure with a user-readable explanation.
Parameters
messageString- failure explanation
InferenceException
public InferenceException(String message, Throwable cause)Creates an inference failure that preserves the native/port cause.
Parameters
messageString- failure explanation
causeThrowable- originating error