62859ba05a9dff7677b6946077544bb9a224c8cc,pymc3/variational/opvi.py,Approximation,__init__,#Approximation#Any#Any#Any#Any#Any#,549

Before Change


        self.local_vars = self.get_local_vars(**kwargs)
        self.global_vars = self.get_global_vars(**kwargs)
        self.order = ArrayOrdering(self.local_vars + self.global_vars)
        self.gbij = DictToArrayBijection(ArrayOrdering(self.global_vars), {})
        self.lbij = DictToArrayBijection(ArrayOrdering(self.local_vars), {})
        self.flat_view = model.flatten(
            vars=self.local_vars + self.global_vars

After Change


            self._symbolic_initial_local_matrix.dtype
        )
        self._symbolic_initial_global_matrix = tt.matrix(self.__class__.__name__ + "_symbolic_initial_global_matrix")
        self._symbolic_initial_global_matrix.tag.test_value = np.random.rand(1, self.global_size).astype(
            self._symbolic_initial_global_matrix.dtype
        )

        self.global_flat_view = model.flatten(
            vars=self.global_vars,
            order=self._g_order,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: pymc-devs/pymc3
Commit Name: 62859ba05a9dff7677b6946077544bb9a224c8cc
Time: 2017-06-28
Author: maxim.v.kochurov@gmail.com
File Name: pymc3/variational/opvi.py
Class Name: Approximation
Method Name: __init__


Project Name: uber/ludwig
Commit Name: f7141cf36eaf5f95ffbb924ac6a355925dea0aa6
Time: 2020-07-15
Author: eriksson@uber.com
File Name: ludwig/utils/hyperopt_utils.py
Class Name: RandomStrategy
Method Name: _determine_samples


Project Name: bokeh/bokeh
Commit Name: 31dadafde4e9f612f7a63a6ac574250f8f05266e
Time: 2020-08-18
Author: bryan@bokeh.org
File Name: sphinx/source/docs/user_guide/examples/interaction_spinner.py
Class Name:
Method Name: