The `value` array can have undefined values inside if you go beyond `n_classes_[k]` for the `k`-th output (outputs may not have the same number of classes), hence this won't work.