Lines Matching refs:stfile
1359 SparseTensorFile stfile(filename); in openSparseTensorCOO() local
1360 stfile.openFile(); in openSparseTensorCOO()
1361 stfile.readHeader(); in openSparseTensorCOO()
1363 SparseTensorFile::ValueKind valueKind = stfile.getValueKind(); in openSparseTensorCOO()
1372 stfile.assertMatchesShape(rank, shape); in openSparseTensorCOO()
1375 uint64_t nnz = stfile.getNNZ(); in openSparseTensorCOO()
1376 auto *coo = SparseTensorCOO<V>::newSparseTensorCOO(rank, stfile.getDimSizes(), in openSparseTensorCOO()
1381 char *linePtr = stfile.readLine(); in openSparseTensorCOO()
1387 readCOOValue(coo, indices, &linePtr, stfile.isPattern(), in openSparseTensorCOO()
1388 stfile.isSymmetric() && indices[0] != indices[1]); in openSparseTensorCOO()
1391 stfile.closeFile(); in openSparseTensorCOO()
1840 SparseTensorFile stfile(filename); in readSparseTensorShape() local
1841 stfile.openFile(); in readSparseTensorShape()
1842 stfile.readHeader(); in readSparseTensorShape()
1843 stfile.closeFile(); in readSparseTensorShape()
1844 const uint64_t rank = stfile.getRank(); in readSparseTensorShape()
1845 const uint64_t *dimSizes = stfile.getDimSizes(); in readSparseTensorShape()