MCPcopy Create free account
hub / github.com/Turing-Project/WriteGPT / elapsed_time

Method elapsed_time

LanguageNetwork/BERT/models/stats.py:90–92  ·  view source on GitHub ↗

compute elapsed time

(self)

Source from the content-addressed store, hash-verified

88
89
90 def elapsed_time(self):
91 """ compute elapsed time """
92 return time.time() - self.start_time
93
94 def output(self, step, num_steps, learning_rate, start):
95 """Write out statistics to stdout.

Callers 2

outputMethod · 0.95
log_tensorboardMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected