Home
last modified time | relevance | path

Searched refs:_entropy (Results 1 – 13 of 13) sorted by relevance

/third_party/mindspore/mindspore/nn/probability/distribution/
Ddistribution.py659 def _entropy(self, *args, **kwargs): member in Distribution
674 return self._entropy(*args, **kwargs)
698 return self._entropy(*args, **kwargs) + self._kl_loss(dist, *args, **kwargs)
757 return self._entropy(*args, **kwargs)
Dlog_normal.py163 def _entropy(self, loc=None, scale=None): member in LogNormal
219 return self._entropy(loc_a, scale_a) + self._kl_loss(dist, loc_b, scale_b, loc_a, scale_a)
Dgumbel.py161 def _entropy(self): member in Gumbel
201 return self._entropy() + self._kl_loss(dist, loc_b, scale_b)
Dbernoulli.py209 def _entropy(self, probs1=None): member in Bernoulli
228 return self._entropy(probs1) + self._kl_loss(dist, probs1_b, probs1)
Dexponential.py207 def _entropy(self, rate=None): member in Exponential
225 return self._entropy(rate) + self._kl_loss(dist, rate_b, rate)
Dgeometric.py216 def _entropy(self, probs1=None): member in Geometric
235 return self._entropy(probs1) + self._kl_loss(dist, probs1_b, probs1)
Dnormal.py209 def _entropy(self, mean=None, sd=None): member in Normal
231 return self._entropy(mean, sd) + self._kl_loss(dist, mean_b, sd_b, mean, sd)
Dcauchy.py227 def _entropy(self, loc=None, scale=None): member in Cauchy
337 return self._entropy(loc_a, scale_a) + self._kl_loss(dist, loc_b, scale_b, loc_a, scale_a)
Dbeta.py249 def _entropy(self, concentration1=None, concentration0=None): member in Beta
276 return self._entropy(concentration1_a, concentration0_a) \
Dgamma.py251 def _entropy(self, concentration=None, rate=None): member in Gamma
274 return self._entropy(concentration_a, rate_a) +\
Duniform.py234 def _entropy(self, low=None, high=None): member in Uniform
254 return self._entropy(low, high) + self._kl_loss(dist, low_b, high_b, low, high)
Dcategorical.py218 def _entropy(self, probs=None): member in Categorical
257 return self._entropy(probs) + self._kl_loss(dist, probs_b, probs)
Dlogistic.py232 def _entropy(self, loc=None, scale=None): member in Logistic