| 80 | const uint64 kFlushBytes = 1024 * 1024; |
| 81 | |
| 82 | double 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 | |
| 88 | string StringifyShape(const TensorShape& shape) { |
| 89 | string result; |
no outgoing calls
no test coverage detected