296b28c1a5b1fb18732d1ed0f466b3761e50ebef,pyro/contrib/gp/kernels/coregionalize.py,Coregionalize,__init__,#Coregionalize#Any#Any#Any#Any#Any#,44
Before Change
if diagonal.shape != (input_dim,):
raise ValueError("Expected diagonal.shape == ({},), actual {}"
.format(input_dim, diagonal.shape))
self.diagonal = Parameter(diagonal)
self.set_constraint("diagonal", constraints.positive)
def forward(self, X, Z=None, diag=False):
X = self._slice_input(X)
Xc = X.matmul(self.components)
After Change
if diagonal.shape != (input_dim,):
raise ValueError("Expected diagonal.shape == ({},), actual {}"
.format(input_dim, diagonal.shape))
self.diagonal = PyroParam(diagonal, constraints.positive)
def forward(self, X, Z=None, diag=False):
X = self._slice_input(X)
Xc = X.matmul(self.components)
In pattern: SUPERPATTERN
Frequency: 13
Non-data size: 5
Instances
Project Name: uber/pyro
Commit Name: 296b28c1a5b1fb18732d1ed0f466b3761e50ebef
Time: 2019-11-14
Author: fehiepsi@gmail.com
File Name: pyro/contrib/gp/kernels/coregionalize.py
Class Name: Coregionalize
Method Name: __init__
Project Name: uber/pyro
Commit Name: 296b28c1a5b1fb18732d1ed0f466b3761e50ebef
Time: 2019-11-14
Author: fehiepsi@gmail.com
File Name: pyro/contrib/gp/kernels/isotropic.py
Class Name: Isotropy
Method Name: __init__
Project Name: uber/pyro
Commit Name: 296b28c1a5b1fb18732d1ed0f466b3761e50ebef
Time: 2019-11-14
Author: fehiepsi@gmail.com
File Name: pyro/contrib/gp/kernels/static.py
Class Name: WhiteNoise
Method Name: __init__
Project Name: uber/pyro
Commit Name: 296b28c1a5b1fb18732d1ed0f466b3761e50ebef
Time: 2019-11-14
Author: fehiepsi@gmail.com
File Name: pyro/contrib/gp/kernels/periodic.py
Class Name: Periodic
Method Name: __init__
Project Name: uber/pyro
Commit Name: 296b28c1a5b1fb18732d1ed0f466b3761e50ebef
Time: 2019-11-14
Author: fehiepsi@gmail.com
File Name: pyro/contrib/gp/kernels/dot_product.py
Class Name: Polynomial
Method Name: __init__
Project Name: uber/pyro
Commit Name: 296b28c1a5b1fb18732d1ed0f466b3761e50ebef
Time: 2019-11-14
Author: fehiepsi@gmail.com
File Name: pyro/contrib/gp/likelihoods/gaussian.py
Class Name: Gaussian
Method Name: __init__
Project Name: uber/pyro
Commit Name: 296b28c1a5b1fb18732d1ed0f466b3761e50ebef
Time: 2019-11-14
Author: fehiepsi@gmail.com
File Name: pyro/contrib/gp/models/vgp.py
Class Name: VariationalGP
Method Name: __init__
Project Name: uber/pyro
Commit Name: 296b28c1a5b1fb18732d1ed0f466b3761e50ebef
Time: 2019-11-14
Author: fehiepsi@gmail.com
File Name: pyro/contrib/gp/kernels/isotropic.py
Class Name: RationalQuadratic
Method Name: __init__
Project Name: uber/pyro
Commit Name: 296b28c1a5b1fb18732d1ed0f466b3761e50ebef
Time: 2019-11-14
Author: fehiepsi@gmail.com
File Name: pyro/contrib/gp/kernels/brownian.py
Class Name: Brownian
Method Name: __init__
Project Name: uber/pyro
Commit Name: 296b28c1a5b1fb18732d1ed0f466b3761e50ebef
Time: 2019-11-14
Author: fehiepsi@gmail.com
File Name: pyro/contrib/gp/kernels/dot_product.py
Class Name: DotProduct
Method Name: __init__
Project Name: uber/pyro
Commit Name: 296b28c1a5b1fb18732d1ed0f466b3761e50ebef
Time: 2019-11-14
Author: fehiepsi@gmail.com
File Name: pyro/contrib/gp/models/vsgp.py
Class Name: VariationalSparseGP
Method Name: __init__
Project Name: uber/pyro
Commit Name: 296b28c1a5b1fb18732d1ed0f466b3761e50ebef
Time: 2019-11-14
Author: fehiepsi@gmail.com
File Name: pyro/contrib/gp/models/sgpr.py
Class Name: SparseGPRegression
Method Name: __init__
Project Name: uber/pyro
Commit Name: 296b28c1a5b1fb18732d1ed0f466b3761e50ebef
Time: 2019-11-14
Author: fehiepsi@gmail.com
File Name: pyro/contrib/gp/kernels/static.py
Class Name: Constant
Method Name: __init__