62392a4b5e92ad5a6aefbc2d1379c7423437ff07,keras/layers/embeddings.py,Embedding,__init__,#Embedding#Any#Any#Any#Any#Any#Any#Any#Any#,20

Before Change



        if zero_is_mask:
            // This doesn"t seem particularly elegant
            self.W = sharedX(T.set_subtensor(self.W[0, :], mask_val).eval())

        self.params = [self.W]
        self.constraints = [W_constraint]
        self.regularizers = [W_regularizer]

        if weights is not None:

After Change


        of finding the context word in the context of the pivot word
        (or reciprocally depending on your training procedure).

        The layer ingests integer tensors of shape:
        (nb_samples, 2)
        and outputs a float tensor of shape
        (nb_samples, 1)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: keras-team/keras
Commit Name: 62392a4b5e92ad5a6aefbc2d1379c7423437ff07
Time: 2015-06-25
Author: xavier@whirlscape.com
File Name: keras/layers/embeddings.py
Class Name: Embedding
Method Name: __init__


Project Name: keras-team/keras
Commit Name: 7278db105dc3ae1d4c1e38b497e54c863a7836e3
Time: 2015-06-19
Author: xavier@whirlscape.com
File Name: keras/layers/recurrent.py
Class Name: SimpleRNN
Method Name: get_output


Project Name: keras-team/keras
Commit Name: a744b600e94ae00fbec71ef493afdff48bc3816b
Time: 2015-11-18
Author: francois.chollet@gmail.com
File Name: keras/layers/normalization.py
Class Name: LRN2D
Method Name: get_output