QuantizedTensor

Constructors

Link copied to clipboard
constructor(qdata: ByteArray, scales: FloatArray, zeros: ByteArray?, shape: IntArray, bits: Int, groupSize: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val bits: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val groups: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val rows: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun dequantizeColumn(column: Int, dest: FloatArray, destOffset: Int = 0)
Link copied to clipboard
fun dequantizeRow(row: Int, dest: FloatArray, destOffset: Int = 0)
Link copied to clipboard
fun rawValue(row: Int, column: Int): Int
Link copied to clipboard
fun value(row: Int, column: Int): Float