MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / DurationFromSeconds

Function DurationFromSeconds

tensorflow/lite/experimental/ruy/time.h:37–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35
36template <typename RepresentationType>
37Duration DurationFromSeconds(RepresentationType representation) {
38 return std::chrono::duration_cast<Duration>(
39 std::chrono::duration<RepresentationType>(representation));
40}
41
42template <typename RepresentationType>
43Duration DurationFromMilliseconds(RepresentationType representation) {

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68