ModelHnswFlags extension

Adds mapping to internal flags.

on

Methods

toFlags() int
Convert to internal flags.