MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / _entropy

Method _entropy

tensorflow/python/ops/distributions/uniform.py:198–199  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

196 return array_ops.where_v2(x >= self.high, ones, result_if_not_big)
197
198 def _entropy(self):
199 return math_ops.log(self.range())
200
201 def _mean(self):
202 return (self.low + self.high) / 2.

Callers

nothing calls this directly

Calls 2

rangeMethod · 0.95
logMethod · 0.45

Tested by

no test coverage detected