Pgvector.HalfVector (pgvector v0.4.0)

Copy Markdown View Source

A half vector struct for pgvector

Summary

Types

t()

A half vector

Functions

Creates a new half vector from its binary representation

Creates a new half vector from a list, tensor, or half vector

Types

t()

@type t() :: %Pgvector.HalfVector{data: binary()}

A half vector

Functions

from_binary(binary)

Creates a new half vector from its binary representation

new(list)

Creates a new half vector from a list, tensor, or half vector