Float32

data class Float32(val value: List<Float>) : VectorData

The vector data as 32-bit floating point numbers. The number of elements in this array must exactly match the dimension of the vector index where the operation is being performed.

Constructors

Link copied to clipboard
constructor(value: List<Float>)

Properties

Link copied to clipboard

Inherited functions

Link copied to clipboard

Casts this VectorData as a Float32 and retrieves its kotlin.collections.List value. Throws an exception if the VectorData is not a Float32.

Link copied to clipboard

Casts this VectorData as a Float32 and retrieves its kotlin.collections.List value. Returns null if the VectorData is not a Float32.