Skip to content
HALOWERK

Language Model Access

layout reduction axis inverse map

Return reduction sums and each source element output index for supplied tensor data and axes.

POST https://modell.halowerk.com/v1/layout-reduction-axis-inverse-map

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
shapearrayYes
valuesarrayYes
axesarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "shape": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 1,
        "maximum": 1000000
      },
      "maxItems": 6,
      "minItems": 1
    },
    "values": {
      "type": "array",
      "items": {
        "type": "number",
        "minimum": -1000000,
        "maximum": 1000000
      },
      "maxItems": 4096,
      "minItems": 1
    },
    "axes": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": -6,
        "maximum": 5
      },
      "maxItems": 6,
      "minItems": 0
    }
  },
  "required": [
    "shape",
    "values",
    "axes"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "shape": [
    2,
    2
  ],
  "values": [
    1,
    2,
    3,
    4
  ],
  "axes": [
    1
  ]
}

Result & documentation

Machine-readable documentation of this hub

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

More endpoints in this hub

All endpoints in this hub โ†’