Unverified Commit 684a161e authored by Karmel Allison's avatar Karmel Allison Committed by GitHub
Browse files

After-the-fact response to @k-w-w 's review (#3841)

parent 59c7683e
......@@ -329,10 +329,6 @@ def log_stats(graph_name, log_buffer, timings, batch_size):
timings: list of floats, times produced for multiple runs that will be
used for statistic calculation
batch_size: int, number of examples per batch
Returns:
list of two floats representing frames per second and 99th percentile
time per batch
"""
times = np.array(timings)
steps = len(times)
......@@ -357,8 +353,6 @@ def log_stats(graph_name, log_buffer, timings, batch_size):
log_buffer.write(msg)
return [speed_mean, time_99th]
def time_and_log_graph(graph_name, graph_def, data, log_buffer, flags):
timings, result = time_graph(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment