Skip to content
HALOWERK

Language Model Access

layout maxpool argmax scatter

Return one-dimensional max-pooling values, first-max indexes and the corresponding gradient scatter.

POST https://modell.halowerk.com/v1/layout-maxpool-argmax-scatter

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
inputarrayYes
kernelintegerYes
strideintegerYes
paddingintegerYes
output_gradientarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "input": {
      "type": "array",
      "items": {
        "type": "number",
        "minimum": -1000000,
        "maximum": 1000000
      },
      "maxItems": 256,
      "minItems": 1
    },
    "kernel": {
      "type": "integer",
      "minimum": 1,
      "maximum": 32
    },
    "stride": {
      "type": "integer",
      "minimum": 1,
      "maximum": 32
    },
    "padding": {
      "type": "integer",
      "minimum": 0,
      "maximum": 31
    },
    "output_gradient": {
      "type": "array",
      "items": {
        "type": "number",
        "minimum": -1000000,
        "maximum": 1000000
      },
      "maxItems": 768,
      "minItems": 0
    }
  },
  "required": [
    "input",
    "kernel",
    "stride",
    "padding",
    "output_gradient"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "input": [
    1,
    3,
    2
  ],
  "kernel": 2,
  "stride": 1,
  "padding": 0,
  "output_gradient": [
    1,
    2
  ]
}

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