Home
last modified time | relevance | path

Searched refs:real_filepath (Results 1 – 3 of 3) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/debug/
Dtrace.cc311 auto real_filepath = Common::CreatePrefixPath(filename); in ExportFuncGraph() local
312 if (!real_filepath.has_value()) { in ExportFuncGraph()
316 ChangeFileMode(real_filepath.value(), S_IWUSR); in ExportFuncGraph()
317 std::ofstream ofs(real_filepath.value()); in ExportFuncGraph()
319 MS_LOG(ERROR) << "Open file '" << real_filepath.value() << "' failed!" << ErrnoToString(errno); in ExportFuncGraph()
361 ChangeFileMode(real_filepath.value(), S_IRUSR); in ExportFuncGraph()
Ddraw.cc190 auto real_filepath = Common::CreatePrefixPath(filepath); in Draw() local
191 if (!real_filepath.has_value()) { in Draw()
195 DrawByOpt(real_filepath.value(), func_graph, false); in Draw()
201 auto real_filepath = Common::CreatePrefixPath(filepath); in DrawUserFuncGraph() local
202 if (!real_filepath.has_value()) { in DrawUserFuncGraph()
206 DrawByOpt(real_filepath.value(), func_graph, true); in DrawUserFuncGraph()
Danf_ir_utils.cc646 auto real_filepath = Common::CreatePrefixPath(filepath); in ExportIR() local
647 if (!real_filepath.has_value()) { in ExportIR()
651 ChangeFileMode(real_filepath.value(), S_IWUSR); in ExportIR()
653 exporter.ExportFuncGraph(real_filepath.value(), func_graph); in ExportIR()
655 ChangeFileMode(real_filepath.value(), S_IRUSR); in ExportIR()