MCPcopy Index your code
hub / github.com/tensorflow/tensorboard / _MakeHistogramBuckets

Function _MakeHistogramBuckets

tensorboard/scripts/generate_testdata.py:50–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48
49
50def _MakeHistogramBuckets():
51 v = 1e-12
52 buckets = []
53 neg_buckets = []
54 while v < 1e20:
55 buckets.append(v)
56 neg_buckets.append(-v)
57 v *= 1.1
58 # Should include DBL_MAX, but won't bother for test data.
59 return neg_buckets[::-1] + [0] + buckets
60
61
62def _MakeHistogram(values):

Callers 1

_MakeHistogramFunction · 0.85

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…