(self, net)
| 79 | net.ResetCursor([self.cursor], []) |
| 80 | |
| 81 | def computeoffset(self, net): |
| 82 | self.reset(net) |
| 83 | offsets = net.ComputeOffset( |
| 84 | [self.cursor] + self.dataset.content().field_blobs(), |
| 85 | 'offsets') |
| 86 | self.offsets = offsets |
| 87 | |
| 88 | def sort_and_shuffle(self, net, sort_by_field=None, |
| 89 | shuffle_size=1, batch_size=1): |