Embeddings

class Embeddings(val mediaIds: LongArray, val atMs: LongArray, val vectors: FloatArray, val dim: Int)(source)

Every vector in an index, flattened for a fast scan: row i is vectors[i*dim until (i+1)*dim].

Constructors

Link copied to clipboard
constructor(mediaIds: LongArray, atMs: LongArray, vectors: FloatArray, dim: Int)

Properties

Link copied to clipboard
Link copied to clipboard
val dim: Int
Link copied to clipboard
Link copied to clipboard
val size: Int
Link copied to clipboard