Status

enum Status : Enum

Status codes for LiteRtException.

Summary

Public companion functions

Status
fromCode(code: Int)

Returns the Status with the given code.

Public functions

Status
valueOf(value: String)

Returns the enum constant of this type with the specified name.

Array<Status>

Returns an array containing the constants of this enum type, in the order they're declared.

Public properties

Int
EnumEntries<Status>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Enum Values

ErrorAlreadyExists

val Status.ErrorAlreadyExists: Status

ErrorCancelled

val Status.ErrorCancelled: Status

ErrorCompilation

val Status.ErrorCompilation: Status

ErrorDynamicLoading

val Status.ErrorDynamicLoading: Status

ErrorFileIO

val Status.ErrorFileIO: Status

ErrorGraphModification

val Status.ErrorGraphModification: Status

ErrorIncompatibleByteCodeVersion

val Status.ErrorIncompatibleByteCodeVersion: Status

ErrorIndexOOB

val Status.ErrorIndexOOB: Status

ErrorInvalidArgument

val Status.ErrorInvalidArgument: Status

ErrorInvalidFlatbuffer

val Status.ErrorInvalidFlatbuffer: Status

ErrorInvalidGraphInvariant

val Status.ErrorInvalidGraphInvariant: Status

ErrorInvalidIrType

val Status.ErrorInvalidIrType: Status

ErrorInvalidLegalization

val Status.ErrorInvalidLegalization: Status

ErrorInvalidToolConfig

val Status.ErrorInvalidToolConfig: Status

ErrorInvalidTransformation

val Status.ErrorInvalidTransformation: Status

ErrorMemoryAllocationFailure

val Status.ErrorMemoryAllocationFailure: Status

ErrorMissingInputTensor

val Status.ErrorMissingInputTensor: Status

ErrorNotFound

val Status.ErrorNotFound: Status

ErrorRuntimeFailure

val Status.ErrorRuntimeFailure: Status

ErrorSerialization

val Status.ErrorSerialization: Status

ErrorShapeInferenceFailed

val Status.ErrorShapeInferenceFailed: Status

ErrorTimeoutExpired

val Status.ErrorTimeoutExpired: Status

ErrorUnknown

val Status.ErrorUnknown: Status

ErrorUnsupported

val Status.ErrorUnsupported: Status

ErrorUnsupportedCompilerVersion

val Status.ErrorUnsupportedCompilerVersion: Status

ErrorUnsupportedRuntimeVersion

val Status.ErrorUnsupportedRuntimeVersion: Status

ErrorUnsupportedShapeInferencedOp

val Status.ErrorUnsupportedShapeInferencedOp: Status

ErrorWrongVersion

val Status.ErrorWrongVersion: Status

LegalizeNoMatch

val Status.LegalizeNoMatch: Status

Ok

val Status.Ok: Status

PatternNoMatch

val Status.PatternNoMatch: Status

Public companion functions

fromCode

fun fromCode(code: Int): Status

Returns the Status with the given code.

Public functions

valueOf

fun valueOf(value: String): Status

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws
kotlin.IllegalArgumentException

if this enum type has no constant with the specified name

values

fun values(): Array<Status>

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.

Public properties

code

val code: Int

entries

val entries: EnumEntries<Status>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

This method may be used to iterate over the enum entries.