PB013: sparse-indices-not-lexicographic

Code: PB013

Name: sparse-indices-not-lexicographic

Severity: error

Category: protobuf

Target: value

Fixable: No

Message

Sparse tensor indices are not in lexicographic order.

Suggestion

Sort the sparse tensor indices in lexicographic order.

Details

Multi-dimensional indices in a SparseTensorProto must be in lexicographic sorted order.