| 1507 | } |
| 1508 | |
| 1509 | Status GetSparseCSXIndexMetadata(const flatbuf::SparseMatrixIndexCSX* sparse_index, |
| 1510 | std::shared_ptr<DataType>* indptr_type, |
| 1511 | std::shared_ptr<DataType>* indices_type) { |
| 1512 | RETURN_NOT_OK(IntFromFlatbuffer(sparse_index->indptrType(), indptr_type)); |
| 1513 | RETURN_NOT_OK(IntFromFlatbuffer(sparse_index->indicesType(), indices_type)); |
| 1514 | return Status::OK(); |
| 1515 | } |
| 1516 | |
| 1517 | Status GetSparseCSFIndexMetadata(const flatbuf::SparseTensorIndexCSF* sparse_index, |
| 1518 | std::vector<int64_t>* axis_order, |
no test coverage detected