b2566d099e6b0b4cc8c3958638d06ad3c87eee41,pymc/tests/test_graph.py,,mymodel,#,7
Before Change
x.__name__ = r"x_%i" % i
last_x = x
F.append(x)
del x
@deterministic
def q(pop = A):
return (0)
F.append(q)
F.append(5)
F = Container(F)
del q
After Change
def mymodel():
mu=pm.Normal("mu",0,1)
N= [pm.Normal("N_%i"%i,mu,1) for i in xrange(10)]
z = pm.Lambda("z",lambda n=N: np.sum(n))
@pm.potential
def y(z=z):
return -z**2
return mu,N,z,y
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: pymc-devs/pymc3
Commit Name: b2566d099e6b0b4cc8c3958638d06ad3c87eee41
Time: 2010-01-06
Author: anand.prabhakar.patil@15d7aa0b-6f1a-0410-991a-d59f85d14984
File Name: pymc/tests/test_graph.py
Class Name:
Method Name: mymodel
Project Name: pymc-devs/pymc3
Commit Name: b2566d099e6b0b4cc8c3958638d06ad3c87eee41
Time: 2010-01-06
Author: anand.prabhakar.patil@15d7aa0b-6f1a-0410-991a-d59f85d14984
File Name: pymc/tests/test_graph.py
Class Name:
Method Name: mymodel
Project Name: pymc-devs/pymc3
Commit Name: 9f7d418c4eae41ded178402ab07538910c11b07a
Time: 2009-12-10
Author: anand.prabhakar.patil@gmail.com
File Name: pymc/tests/test_graph.py
Class Name:
Method Name: mymodel
Project Name: junyanz/pytorch-CycleGAN-and-pix2pix
Commit Name: f27da7d53aaad61ade08a59bd90fef1dadabb1c3
Time: 2019-01-11
Author: taesung89@gmail.com
File Name: data/base_dataset.py
Class Name:
Method Name: get_transform