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

Function DoubleTime

tensorflow/core/summary/summary_db_writer.cc:82–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80const uint64 kFlushBytes = 1024 * 1024;
81
82double DoubleTime(uint64 micros) {
83 // TODO(@jart): Follow precise definitions for time laid out in schema.
84 // TODO(@jart): Use monotonic clock from gRPC codebase.
85 return static_cast<double>(micros) / 1.0e6;
86}
87
88string StringifyShape(const TensorShape& shape) {
89 string result;

Callers 9

SaveGraphMethod · 0.85
LOCKS_EXCLUDEDMethod · 0.85
~SummaryDbWriterMethod · 0.85
WriteGraphMethod · 0.85
WriteHistogramMethod · 0.85
WriteImageMethod · 0.85
WriteAudioMethod · 0.85
WriteMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected