Home
last modified time | relevance | path

Searched refs:metrics_file_ (Results 1 – 2 of 2) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/fl/server/
Diteration_metrics.cc64 metrics_file_.open(realpath.value(), std::ios::ate | std::ios::out); in Initialize()
65 metrics_file_.close(); in Initialize()
71 metrics_file_.open(metrics_file_path_, std::ios::ate | std::ios::out); in Summarize()
72 if (!metrics_file_.is_open()) { in Summarize()
86 metrics_file_ << js_ << "\n"; in Summarize()
87 (void)metrics_file_.flush(); in Summarize()
88 metrics_file_.close(); in Summarize()
93 if (metrics_file_.is_open()) { in Clear()
95 metrics_file_.close(); in Clear()
96 metrics_file_.open(metrics_file_path_, std::ios::ate | std::ios::out); in Clear()
Diteration_metrics.h97 std::fstream metrics_file_; variable