Skip to content
HALOWERK

Language Model Access

layout einsum label dimensions

Return explicit einsum output dimensions, reduction labels and scalar multiplication count from supplied operand shapes.

POST https://modell.halowerk.com/v1/layout-einsum-label-dimensions

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
equationstringYes
shapesarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "equation": {
      "type": "string",
      "maxLength": 100,
      "minLength": 1
    },
    "shapes": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "integer",
          "minimum": 1,
          "maximum": 1000000
        },
        "maxItems": 6,
        "minItems": 1
      },
      "maxItems": 6,
      "minItems": 1
    }
  },
  "required": [
    "equation",
    "shapes"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "equation": "ij,jk->ik",
  "shapes": [
    [
      2,
      3
    ],
    [
      3,
      4
    ]
  ]
}

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 โ†’