WhisperTensorInfo

data class WhisperTensorInfo(val name: String, val dimensions: List<Long>, val typeId: Int, val dataOffset: Long)(source)

One tensor descriptor of a Whisper ggml file.

Constructors

Link copied to clipboard
constructor(name: String, dimensions: List<Long>, typeId: Int, dataOffset: Long)

Properties

Link copied to clipboard

Data size in bytes, or null if type is unknown.

Link copied to clipboard

absolute file offset of the tensor data.

Link copied to clipboard

ne[0..n_dims).

Link copied to clipboard

Number of elements.

Link copied to clipboard

tensor name (for example encoder.conv1.weight).

Link copied to clipboard

The element type, or null if typeId is unknown.

Link copied to clipboard
val typeId: Int

the raw ggml_type; type is null if it is unknown to this parser.