(self)
| 227 | ) |
| 228 | |
| 229 | def __len__(self): |
| 230 | # -1 is due to data structure used to retieve the index: |
| 231 | # sample i --> [sample_idx[i], sample_idx[i+1]) |
| 232 | return self.doc_idx.shape[0] |
| 233 | |
| 234 | def __getitem__(self, idx): |
| 235 | # get the doc index |
nothing calls this directly
no outgoing calls
no test coverage detected