\brief Return whether a sparse tensor index is canonical, or not. If a sparse tensor index is canonical, it is sorted in the lexicographical order, and the corresponding sparse tensor doesn't have duplicated entries.
| 168 | /// If a sparse tensor index is canonical, it is sorted in the lexicographical order, |
| 169 | /// and the corresponding sparse tensor doesn't have duplicated entries. |
| 170 | bool is_canonical() const { return is_canonical_; } |
| 171 | |
| 172 | /// \brief Return a string representation of the sparse index |
| 173 | std::string ToString() const override; |
nothing calls this directly
no outgoing calls
no test coverage detected