E-TE0001 — len_at index exceeds array dimensions
Error Type |
|
|---|---|
Phase |
type checking the model |
Python exception |
|
Message
`len_at({index})` is out of range: the array with shape {shape} has no axis {index}
Cause
You called .len_at(i) with an index i that is greater than or equal to the number of dimensions (ndim) of the array. For example, calling .len_at(2) on a 2-dimensional array (valid axes are 0 and 1).
Fix
Pass an axis strictly smaller than the number of dimensions: for an n-dimensional array, valid arguments are 0 through n - 1.