// Generate one word for each training word as a negative sample.
sample_class_ids = self.random.uniform(self.target_probs.shape)
sample_class_ids *= num_classes
sample_class_ids = tensor.cast(sample_class_ids, "int64")
self.negative_probs = self._get_sigmoid(layer_input,
sample_class_ids)
// minibatch_size = self.negative_probs.shape[0] * self.negative_probs.shape[1]
// minibatch_size = tensor.cast(minibatch_size, theano.config.floatX)