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

Function ToFloatSeconds

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

Source from the content-addressed store, hash-verified

52}
53
54inline float ToFloatSeconds(const Duration& duration) {
55 return std::chrono::duration_cast<std::chrono::duration<float>>(duration)
56 .count();
57}
58
59inline std::int64_t ToInt64Nanoseconds(const Duration& duration) {
60 return std::chrono::duration_cast<

Callers 2

EvalRatioMethod · 0.85
BenchmarkMethod · 0.85

Calls 1

countMethod · 0.45

Tested by 1

BenchmarkMethod · 0.68