MCPcopy Create free account
hub / github.com/cure-lab/deep-active-learning / convert_secs2time

Function convert_secs2time

utils.py:142–146  ·  view source on GitHub ↗
(epoch_time)

Source from the content-addressed store, hash-verified

140
141
142def convert_secs2time(epoch_time):
143 need_hour = int(epoch_time / 3600)
144 need_mins = int((epoch_time - 3600 * need_hour) / 60)
145 need_secs = int(epoch_time - 3600 * need_hour - 60 * need_mins)
146 return need_hour, need_mins, need_secs
147
148
149def time_file_str():

Callers 10

trainMethod · 0.90
trainMethod · 0.90
trainMethod · 0.90
trainMethod · 0.90
trainMethod · 0.90
trainMethod · 0.90
trainMethod · 0.90
trainMethod · 0.90
trainMethod · 0.90
trainMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected