def _create_feed_dict(self, data):
        """Create the dictionary of data to feed to tf session during training.

        :param data: training/validation set batch
        :return: dictionary(self.input_data: data, self.hrand: random_uniform,
                            self.vrand: random_uniform)
        """
        return {
            self.input_data: data,
            self.hrand: np.random.rand(data.shape[0], self.num_hidden),
            self.vrand: np.random.rand(data.shape[0], data.shape[1])
        }
Create the dictionary of data to feed to tf session during training.

        :param data: training/validation set batch
        :return: dictionary(self.input_data: data, self.hrand: random_uniform,
                            self.vrand: random_uniform)
        
yadlt/models/boltzmann/rbm.py