ReaderTensor

data class ReaderTensor(val name: String, val tensorType: GGMLQuantizationType, val rawTypeValue: Int, val shape: List<UInt>, val nElements: Int, val nBytes: Int, val dataOffset: Int, val data: List<Any>, val field: ReaderField)(source)

Constructors

Link copied to clipboard
constructor(name: String, tensorType: GGMLQuantizationType, rawTypeValue: Int, shape: List<UInt>, nElements: Int, nBytes: Int, dataOffset: Int, data: List<Any>, field: ReaderField)

Properties

Link copied to clipboard
val data: List<Any>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Whether this tensor uses an unknown/unsupported quantization type

Link copied to clipboard
Link copied to clipboard
val nBytes: Int
Link copied to clipboard
Link copied to clipboard

Raw type value from file (useful when tensorType is UNKNOWN)

Link copied to clipboard
Link copied to clipboard