outputIndices property

List<Object?>? outputIndices
getter/setter pair

If populated, only returns attributions that have output_index contained in output_indices.

It must be an ndarray of integers, with the same shape of the output it's explaining. If not populated, returns attributions for top_k indices of outputs. If neither top_k nor output_indices is populated, returns the argmax index of the outputs. Only applicable to Models that predict multiple outputs (e,g, multi-class Models that predict multiple classes).

The values for Object must be JSON objects. It can consist of num, String, bool and null as well as Map and List values.

Implementation

core.List<core.Object?>? outputIndices;