BackendUnavailableException

class BackendUnavailableException(val backend: ComputeBackend?, message: String? = null, cause: Throwable? = null) : InferenceException(source)

The requested compute backend cannot be used on this device or build.

Constructors

Link copied to clipboard
constructor(backend: ComputeBackend?, message: String? = null, cause: Throwable? = null)

Properties

Link copied to clipboard

the unavailable backend, if known.

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard

the native error category this exception represents.

Link copied to clipboard
expect open val message: String?