387d7198a6029a2cf37363f03d1f67b6bc370c1f,labs/06/3d_recognition.py,Dataset,epoch_finished,#Dataset#,42

Before Change



    def epoch_finished(self):
        if len(self._permutation) == 0:
            self._permutation = np.random.permutation(len(self._voxels)) if self._shuffle_batches else range(len(self._voxels))
            return True
        return False

After Change



    def epoch_finished(self):
        if len(self._permutation) == 0:
            self._new_permutation()
            return True
        return False

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: ufal/npfl114
Commit Name: 387d7198a6029a2cf37363f03d1f67b6bc370c1f
Time: 2018-04-04
Author: milan@strakovi.com
File Name: labs/06/3d_recognition.py
Class Name: Dataset
Method Name: epoch_finished


Project Name: ufal/npfl114
Commit Name: 387d7198a6029a2cf37363f03d1f67b6bc370c1f
Time: 2018-04-04
Author: milan@strakovi.com
File Name: labs/06/3d_recognition.py
Class Name: Dataset
Method Name: __init__


Project Name: ufal/npfl114
Commit Name: 387d7198a6029a2cf37363f03d1f67b6bc370c1f
Time: 2018-04-04
Author: milan@strakovi.com
File Name: labs/06/3d_recognition.py
Class Name: Dataset
Method Name: split