Skip to content
HALOWERK

Modellwerk

tensor affine quantization error

Calibrate independent unsigned affine quantizers per supplied value group and return reconstruction errors.

POST https://modell.halowerk.com/v1/tensor-affine-quantization-error

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
bitsSee schemaYes
groupsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "bits": {
      "enum": [
        4,
        8
      ]
    },
    "groups": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "number",
          "minimum": -1000000,
          "maximum": 1000000
        },
        "maxItems": 300,
        "minItems": 1
      },
      "maxItems": 30,
      "minItems": 1
    }
  },
  "required": [
    "bits",
    "groups"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "bits": 8,
  "groups": [
    [
      -1,
      0,
      1
    ]
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub โ†’