6bb344d2eb53bf873a2ae2a89a7bab4735e9aae9,gpytorch/priors/torch_priors.py,NormalPrior,expand,#NormalPrior#Any#,27
Before Change
self._transform = transform
def expand(self, batch_shape):
return Normal.expand(self, batch_shape, _instance=self)
class LogNormalPrior(Prior, LogNormal):
After Change
self._transform = transform
def expand(self, batch_shape):
batch_shape = torch.Size(batch_shape)
return NormalPrior(self.loc.expand(batch_shape), self.scale.expand(batch_shape))
class LogNormalPrior(Prior, LogNormal):
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 10
Instances
Project Name: cornellius-gp/gpytorch
Commit Name: 6bb344d2eb53bf873a2ae2a89a7bab4735e9aae9
Time: 2019-11-29
Author: gardner.jake@gmail.com
File Name: gpytorch/priors/torch_priors.py
Class Name: NormalPrior
Method Name: expand
Project Name: cornellius-gp/gpytorch
Commit Name: 6bb344d2eb53bf873a2ae2a89a7bab4735e9aae9
Time: 2019-11-29
Author: gardner.jake@gmail.com
File Name: gpytorch/priors/torch_priors.py
Class Name: UniformPrior
Method Name: expand
Project Name: cornellius-gp/gpytorch
Commit Name: 6bb344d2eb53bf873a2ae2a89a7bab4735e9aae9
Time: 2019-11-29
Author: gardner.jake@gmail.com
File Name: gpytorch/priors/torch_priors.py
Class Name: NormalPrior
Method Name: expand
Project Name: cornellius-gp/gpytorch
Commit Name: 6bb344d2eb53bf873a2ae2a89a7bab4735e9aae9
Time: 2019-11-29
Author: gardner.jake@gmail.com
File Name: gpytorch/priors/torch_priors.py
Class Name: LogNormalPrior
Method Name: expand
Project Name: cornellius-gp/gpytorch
Commit Name: 6bb344d2eb53bf873a2ae2a89a7bab4735e9aae9
Time: 2019-11-29
Author: gardner.jake@gmail.com
File Name: gpytorch/priors/torch_priors.py
Class Name: GammaPrior
Method Name: expand