Skip to content
HALOWERK

Modellwerk

tensor shard padding ledger

Return equal-width tensor shards, valid axis extents and padding counts for a declared split axis.

POST https://modell.halowerk.com/v1/tensor-shard-padding-ledger

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
shapearrayYes
axisintegerYes
shardsintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "shape": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 1,
        "maximum": 10000
      },
      "maxItems": 8,
      "minItems": 1
    },
    "axis": {
      "type": "integer",
      "minimum": 0,
      "maximum": 7
    },
    "shards": {
      "type": "integer",
      "minimum": 1,
      "maximum": 256
    }
  },
  "required": [
    "shape",
    "axis",
    "shards"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "shape": [
    3,
    10
  ],
  "axis": 1,
  "shards": 3
}

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