03b952732c3c459fbb599c160e9e923d348ec4bb,pixyz/distributions/exponential_distributions.py,RelaxedCategorical,sample_mean,#RelaxedCategorical#,176
Before Change
super().set_dist(x_dict, relaxing, batch_n, **kwargs)
def sample_mean(self, x_dict={}):
self.set_dist(x_dict, relaxing=False)
return self.dist.mean
def sample_variance(self, x_dict={}):
self.set_dist(x_dict, relaxing=False)
return self.dist.variance
After Change
raise NotImplementedError()
def sample_mean(self, x_dict={}):
raise NotImplementedError()
def sample_variance(self, x_dict={}):
raise NotImplementedError()
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 7
Instances
Project Name: masa-su/pixyz
Commit Name: 03b952732c3c459fbb599c160e9e923d348ec4bb
Time: 2020-03-01
Author: kaneko@weblab.t.u-tokyo.ac.jp
File Name: pixyz/distributions/exponential_distributions.py
Class Name: RelaxedCategorical
Method Name: sample_mean
Project Name: masa-su/pixyz
Commit Name: 03b952732c3c459fbb599c160e9e923d348ec4bb
Time: 2020-03-01
Author: kaneko@weblab.t.u-tokyo.ac.jp
File Name: pixyz/distributions/exponential_distributions.py
Class Name: RelaxedBernoulli
Method Name: sample_variance
Project Name: masa-su/pixyz
Commit Name: 03b952732c3c459fbb599c160e9e923d348ec4bb
Time: 2020-03-01
Author: kaneko@weblab.t.u-tokyo.ac.jp
File Name: pixyz/distributions/exponential_distributions.py
Class Name: RelaxedBernoulli
Method Name: sample_mean
Project Name: masa-su/pixyz
Commit Name: 03b952732c3c459fbb599c160e9e923d348ec4bb
Time: 2020-03-01
Author: kaneko@weblab.t.u-tokyo.ac.jp
File Name: pixyz/distributions/exponential_distributions.py
Class Name: RelaxedCategorical
Method Name: sample_variance