Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/contrib/eager/python/examples/l2hmc/
Dmain.py123 ac_spectrum = compute_ac_spectrum(samples_history, mean, covar)
125 ac_spectrum[:25]))
126 ess = compute_ess(ac_spectrum)
134 for ac in ac_spectrum:
198 def compute_ess(ac_spectrum): argument
209 cutoff = np.argmax(ac_spectrum[1:] < .05)
211 cutoff = len(ac_spectrum)
212 ess = 1. / (1. + 2. * np.sum(ac_spectrum[1:cutoff]))