InferenceSource

@PublicPreviewAPI
class InferenceSource


Indicates the source of the model inference.

Summary

Public companion properties

InferenceSource

Inference was performed in the cloud.

InferenceSource

Inference was performed on the device.

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public companion properties

IN_CLOUD

val IN_CLOUDInferenceSource

Inference was performed in the cloud.

ON_DEVICE

val ON_DEVICEInferenceSource

Inference was performed on the device.

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String