Property PostPoolLayerNorm
- Namespace
- Qavren.Edge.Embeddings.Onnx
- Assembly
- Qavren.Edge.Embeddings.Onnx.dll
PostPoolLayerNorm
Apply LayerNorm(Span<float>, float) between pooling and L2 normalisation.
Not Matryoshka truncation, which is cut - this is an unconditional step in
nomic-embed-text-v1.5's reference pooling. Its modules.json carries only Transformer
- Pooling (no Normalize module) and its documented pipeline is mean-pool, then
F.layer_normover the 768 dim, then L2. Omitting it ships plausible-but-off vectors with no error anywhere, which is exactly what therequiredfields on this record exist to prevent. False for the three MiniLM/BGE presets.
public bool PostPoolLayerNorm { get; init; }