Package-level declarations

Types

Link copied to clipboard

Hardware accelerator used for LiteRT inference.

Link copied to clipboard
data class LiteRTBufferRequirements(val supportedTypes: List<LiteRTTensorBufferType>, val bufferSize: Int, val strides: List<Int>)

Describes the memory requirements for creating a tensor buffer.

Link copied to clipboard
expect class LiteRTCompiler(filePath: String, accelerator: LiteRTAccelerator)

Compiles and executes a LiteRT model.

Link copied to clipboard

Supported tensor element types.

Link copied to clipboard
data class LiteRTLayout(val dimensions: List<Int>, val strides: List<Int>)

Describes the layout of a tensor.

Link copied to clipboard

Represents the underlying storage type used by a tensor buffer.

Link copied to clipboard
data class LiteRTTensorType(val elementType: LiteRTElementType, val layout: LiteRTLayout? = null)

Describes the type information of a tensor.

Link copied to clipboard
interface TFBuffer

Represents a LiteRT tensor buffer.