a8cb5fdf89cb36b1ede31ed310ee795c49cfac25,pymc3/variational/advi_minibatch.py,,_join_local_RVs,#Any#Any#,110
Before Change
}
cs = [c for _, (_, c) in local_RVs.items()]
shps = [shp for _, _, shp, _ in local_order.vmap]
c_l = [c * tt.ones(np.prod(shp)) for c, shp in zip(cs, shps)]
return inarray_local, uw_local, replace_local, c_l
After Change
// Weight vector
cs = [c for _, (_, c) in local_RVs.items()]
oness = [tt.ones(v.ravel().tag.test_value.shape) for v in local_RVs]
c_l = tt.concatenate([c * ones for c, ones in zip(cs, oness)])
// shps = [shp for _, _, shp, _ in local_order.vmap]
// c_l = tt.concatenate(
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: pymc-devs/pymc3
Commit Name: a8cb5fdf89cb36b1ede31ed310ee795c49cfac25
Time: 2017-01-09
Author: taku.yoshioka.4096@gmail.com
File Name: pymc3/variational/advi_minibatch.py
Class Name:
Method Name: _join_local_RVs
Project Name: AIRLab-POLIMI/mushroom
Commit Name: c702968d83449f3a6aad3a5cec6cc0b2aafd78c5
Time: 2017-09-27
Author: carloderamo@gmail.com
File Name: mushroom/algorithms/dqn.py
Class Name: RDQN
Method Name: fit
Project Name: pymc-devs/pymc3
Commit Name: a8cb5fdf89cb36b1ede31ed310ee795c49cfac25
Time: 2017-01-09
Author: taku.yoshioka.4096@gmail.com
File Name: pymc3/variational/advi_minibatch.py
Class Name:
Method Name: _join_global_RVs