(self, batch_index)
return batch
Pick a batch where instances are sampled from Guassian distributions.
Pick a batch where instances are sampled from Guassian distributions.
Pick a batch where instances are sampled from Guassian distributions .
def pick_batch(self, batch_index):
    """Pick a batch where instances are sampled from Guassian distributions."""
    mu, sigma = self.mu, self.sigma
    batch_mu, batch_sigma = self._np_index_arrs(batch_index, mu, sigma)
    batch = self._np_sample_from_gaussian(batch_mu, batch_sigma)
    return batch
def pick_batch ( self , batch_index ) : mu , sigma = self . mu , self . sigma batch_mu , batch_sigma = self . _np_index_arrs ( batch_index , mu , sigma ) batch = self . _np_sample_from_gaussian ( batch_mu , batch_sigma ) return batch