> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/cuvs/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/cuvs/_mcp/server.

# BbqQuantizer

_Java package: `com.nvidia.cuvs`_

```java
public final class BbqQuantizer
```

Caller-owned tensors describing one encoded BBQ dataset representation.

The index stores views over these matrices rather than copying them, so they must stay open
for as long as any index built from them is in use.

## Public Members

### withCentroidNormSq

```java
public Builder withCentroidNormSq(float value)
```

Sets the squared L2 norm of the centroid. Required: there is no meaningful default, and
leaving it at zero skews inner-product and cosine distances without reporting an error.

_Source: `java/cuvs-java/src/main/java/com/nvidia/cuvs/BbqQuantizer.java:185`_

_Source: `java/cuvs-java/src/main/java/com/nvidia/cuvs/BbqQuantizer.java:15`_