PB010: invalid-sparse-indices-size

Code: PB010

Name: invalid-sparse-indices-size

Severity: error

Category: protobuf

Target: value

Fixable: No

Message

Sparse tensor indices size does not match NNZ count.

Suggestion

Ensure the indices match the number of non-zero elements.

Details

The size of the indices field in a SparseTensorProto must match the number of non-zero elements (NNZ).