eb4728a5ca44cc8f9b26b70436aae4438249669e,pymc3/variational/approximations.py,FullRankGroup,L,#FullRankGroup#,151

Before Change



    @node_property
    def L(self):
        return self.params_dict["L_tril"][..., self.tril_index_matrix]

    @node_property
    def mean(self):
        return self.params_dict["mu"]

After Change


    @node_property
    def L(self):
        if self.batched:
            L = tt.zeros((self.ddim, self.ddim, self.bdim))
            L = tt.set_subtensor(
                L[self.tril_indices],
                self.params_dict["L_tril"].T)
            L = L.dimshuffle(2, 0, 1)
        else:
            L = tt.zeros((self.ddim, self.ddim))
            L = tt.set_subtensor(
                L[self.tril_indices],
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: pymc-devs/pymc3
Commit Name: eb4728a5ca44cc8f9b26b70436aae4438249669e
Time: 2017-09-02
Author: maxim.v.kochurov@gmail.com
File Name: pymc3/variational/approximations.py
Class Name: FullRankGroup
Method Name: L


Project Name: UFAL-DSG/tgen
Commit Name: 357d1611c7a222b55a5b4f2b3399bde14a9ac0ea
Time: 2015-05-27
Author: odusek@ufal.mff.cuni.cz
File Name: tgen/nn.py
Class Name: MaxPool1DLayer
Method Name: connect


Project Name: UFAL-DSG/tgen
Commit Name: 930f22933523259b1a152dc3174312357fb99fb9
Time: 2015-06-15
Author: odusek@ufal.mff.cuni.cz
File Name: tgen/nn.py
Class Name: MaxPool1DLayer
Method Name: connect