Home
last modified time | relevance | path

Searched refs:save_path (Results 1 – 13 of 13) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/tbe/
Dtbe_utils.cc76 auto save_path = common::GetEnv(kTUNE_BANK_PATH); in GetBankPath() local
78 if (!save_path.empty()) { in GetBankPath()
79 if (realpath(save_path.c_str(), real_path)) { in GetBankPath()
80 save_path = real_path; in GetBankPath()
81 return save_path; in GetBankPath()
83 MS_LOG(EXCEPTION) << "Invalid environment variable 'TUNE_BANK_PATH', the path is " << save_path in GetBankPath()
92 auto save_path = common::GetEnv(kTUNE_DUMP_PATH); in GetTuneDumpPath() local
94 if (!save_path.empty()) { in GetTuneDumpPath()
95 if (realpath(save_path.c_str(), real_path)) { in GetTuneDumpPath()
96 save_path = real_path; in GetTuneDumpPath()
[all …]
Dascend_kernel_compile.cc216 auto save_path = common::GetEnv(kMS_PARA_DEBUG_PATH); in GetParaDebugPath() local
218 if (!save_path.empty()) { in GetParaDebugPath()
219 if (realpath(save_path.c_str(), real_path)) { in GetParaDebugPath()
220 save_path = real_path; in GetParaDebugPath()
222 … MS_LOG(EXCEPTION) << "Invalid environment variable 'PARA_DEBUG_PATH', the path is " << save_path in GetParaDebugPath()
227 save_path = ""; in GetParaDebugPath()
229 return save_path; in GetParaDebugPath()
233 auto save_path = common::GetEnv(kTBE_IMPL_PATH); in GetTbePath() local
235 if (!save_path.empty()) { in GetTbePath()
236 if (realpath(save_path.c_str(), real_path)) { in GetTbePath()
[all …]
/third_party/mindspore/mindspore/ccsrc/debug/
Dcommon.h51 inline std::string GetSaveGraphsPathName(const std::string &file_name, const std::string &save_path
53 if (save_path.empty()) {
61 save_graphs_path = save_path;
/third_party/mindspore/tests/ut/python/profiler/parser/
Dtest_framework_parser.py71 assert expect_result == self._parser_1.save_path
74 assert expect_result == self._parser_2.save_path
Dtest_minddata_pipeline_parser.py72 assert expect_result == self._parser_1.save_path
/third_party/mindspore/mindspore/explainer/
D_image_classification_runner.py996 save_path = os.path.join(abs_dir_path, self._MANIFEST_FILENAME)
997 fd = os.open(save_path, os.O_WRONLY | os.O_CREAT, mode=self._FILE_MODE)
1007 os.chmod(save_path, self._FILE_MODE)
1019 save_path = os.path.join(abs_dir_path, filename)
1020 image.save(save_path)
1021 os.chmod(save_path, self._FILE_MODE)
1035 save_path = os.path.join(abs_dir_path, filename)
1036 image.save(save_path, optimize=True)
1037 os.chmod(save_path, self._FILE_MODE)
/third_party/mindspore/mindspore/core/utils/
Dprofile.h151 void set_file_path(const std::string &save_path) { file_path_ = save_path; } in set_file_path() argument
/third_party/python/Lib/test/
Dtest_string_literals.py67 self.save_path = sys.path[:]
72 sys.path[:] = self.save_path
/third_party/e2fsprogs/lib/ext2fs/
Dextent.c615 ext2_extent_path_t save_path;
628 retval = ext2fs_get_mem(sizeof(struct ext2_extent_path), &save_path);
631 memset(save_path, 0, sizeof(struct ext2_extent_path));
633 save_path->magic = EXT2_ET_MAGIC_EXTENT_PATH;
634 save_path->leaf_height = info.max_depth - info.curr_level - 1;
635 save_path->lblk = extent.e_lblk;
637 *ret_path = save_path;
/third_party/selinux/libselinux/src/
Dlabel_file.c463 char *save_path, size_t len, struct stat *sb, bool open_oldest) in open_file() argument
499 strcpy(save_path, path); in open_file()
519 strcpy(save_path, path); in open_file()
529 return fopen(save_path, "re"); in open_file()
/third_party/mindspore/mindspore/profiler/parser/
Dminddata_pipeline_parser.py59 def save_path(self): member in MinddataPipelineParser
Dframework_parser.py211 def save_path(self): member in FrameworkParser
Dminddata_analyzer.py60 def save_path(self): member in MinddataProfilingAnalyzer