E-TE0021 — Duplicate axis

Error Type

Type Error

Phase

type checking the model

Python exception

jijmodeling.TypeError

Message

Axis {axis} is specified more than once

Cause

The same axis appears more than once in the axis list of a fold operation, e.g. jm.sum(..., axis=[0, 0]).

Fix

List each axis at most once; each axis of the array can only be reduced a single time.