13831dd959789127f9735275757f1d660de22b82,pymc3/variational/stein.py,Stein,dlogp,#Stein#,53
Before Change
self.approx.symbolic_random_global_matrix],
disconnected_inputs="ignore"
)
loc_grad, glob_grad = theano.clone(
[loc_grad, glob_grad],
{self.approx.symbolic_random_local_matrix: loc_random,
self.approx.symbolic_random_global_matrix: glob_random}
)
return tt.concatenate([loc_grad, glob_grad], axis=-1)
@memoize
@change_flags(compute_test_value="off")
After Change
self.logp_norm.sum(),
self.approx.symbolic_randoms
)
dlogp = tt.concatenate(list(map(unpack, gradients_for_rmatrices)), axis=-1)
if self.use_histogram:
dlogp = theano.clone(
dlogp,
dict(zip(self.approx.symbolic_randoms, self.approx.collect("histogram")))
)
return dlogp
@node_property
def grad(self):
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 6
Instances
Project Name: pymc-devs/pymc3
Commit Name: 13831dd959789127f9735275757f1d660de22b82
Time: 2017-09-02
Author: maxim.v.kochurov@gmail.com
File Name: pymc3/variational/stein.py
Class Name: Stein
Method Name: dlogp
Project Name: daniellerch/aletheia
Commit Name: 1d275bddd7349b765db88c76ec7dcfdf85de0f42
Time: 2020-11-07
Author: kevin.clark@gmail.com
File Name: aletheialib/attacks.py
Class Name:
Method Name: difference
Project Name: ContextLab/hypertools
Commit Name: 8a9344ead3be54cf1d427b30888e0e84ffe4d20a
Time: 2018-01-22
Author: andrew.heusser@gmail.com
File Name: hypertools/tools/text2mat.py
Class Name:
Method Name: text2mat
Project Name: instacart/lore
Commit Name: 644f6485707aaf7d670216f7ea0885b7a0bc8a26
Time: 2017-12-08
Author: montanalow@users.noreply.github.com
File Name: lore/encoders.py
Class Name: Token
Method Name: transform