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

Method _z

tensorflow/contrib/distributions/python/ops/cauchy.py:209–212  ·  view source on GitHub ↗

Standardize input `x`.

(self, x)

Source from the content-addressed store, hash-verified

207 return self.loc * array_ops.ones_like(self.scale)
208
209 def _z(self, x):
210 """Standardize input `x`."""
211 with ops.name_scope("standardize", values=[x]):
212 return (x - self.loc) / self.scale
213
214 def _inv_z(self, z):
215 """Reconstruct input `x` from a its normalized version."""

Callers 3

_cdfMethod · 0.95
_log_cdfMethod · 0.95

Calls 1

name_scopeMethod · 0.45

Tested by

no test coverage detected