(self, shuffle=True, seed=None)
return pc, lb, ns
Returns a copy of the examples of the entire data set (i.e. an epoch's data), shuffled.
Returns a copy of the examples of the entire data set (i.e. an epoch's data), shuffled.
Returns a copy of the examples of the entire data set ( i . e . an epoch s data ) shuffled .
def full_epoch_data(self, shuffle=True, seed=None):
        """Returns a copy of the examples of the entire data set (i.e. an epoch's data), shuffled.
        """
        if shuffle and seed is not None:
            np.random.seed(seed)
        perm = np.arange(self.num_examples)  # Shuffle the data.
        if shuffle:
            np.random.shuffle(perm)
        pc = self.point_clouds[perm]
        lb = self.labels[perm]
        ns = None
        if self.noisy_point_clouds is not None:
            ns = self.noisy_point_clouds[perm]
        return pc, lb, ns
def full_epoch_data ( self , shuffle = True , seed = None ) : if shuffle and seed is not None : np . random . seed ( seed ) perm = np . arange ( self . num_examples ) # Shuffle the data. if shuffle : np . random . shuffle ( perm ) pc = self . point_clouds [ perm ] lb = self . labels [ perm ] ns = None if self . noisy_point_clouds is not None : ns = self . noisy_point_clouds [ perm ] return pc , lb , ns