| 976 | |
| 977 | private: |
| 978 | Status Write(int64 step, const Tensor& t, const string& tag, |
| 979 | const SummaryMetadata& metadata) { |
| 980 | uint64 now = env_->NowMicros(); |
| 981 | double computed_time = DoubleTime(now); |
| 982 | int64 tag_id; |
| 983 | TF_RETURN_IF_ERROR( |
| 984 | meta_.GetTagId(db_, now, computed_time, tag, &tag_id, metadata)); |
| 985 | TF_RETURN_WITH_CONTEXT_IF_ERROR( |
| 986 | run_.Append(db_, tag_id, step, now, computed_time, t), |
| 987 | meta_.user_name(), "/", meta_.experiment_name(), "/", meta_.run_name(), |
| 988 | "/", tag, "@", step); |
| 989 | return Status::OK(); |
| 990 | } |
| 991 | |
| 992 | Status MigrateEvent(std::unique_ptr<Event> e) { |
| 993 | switch (e->what_case()) { |
nothing calls this directly
no test coverage detected