Searched refs:print_file_path (Results 1 – 7 of 7) sorted by relevance
/third_party/mindspore/mindspore/ |
D | context.py | 254 print_file_path = os.path.realpath(file_path) 255 if os.path.isdir(print_file_path): 258 if os.path.exists(print_file_path): 259 _path, _file_name = os.path.split(print_file_path) 264 full_file_name = print_file_path 265 self.set_param(ms_ctx_param.print_file_path, full_file_name) 519 max_device_memory=str, print_file_path=str, enable_sparse=bool, max_call_depth=int,
|
/third_party/mindspore/mindspore/core/utils/ |
D | ms_context.cc | 134 std::string print_file_path = get_param<std::string>(MS_CTX_PRINT_FILE_PATH); in CreateTensorPrintThread() local 135 acl_tdt_print_ = ctr(print_file_path, acl_handle_); in CreateTensorPrintThread()
|
/third_party/mindspore/mindspore/ccsrc/utils/ |
D | tensorprint_utils.cc | 204 bool SaveDataset2File(acltdtDataset *acl_dataset, const std::string &print_file_path, prntpb::Print… in SaveDataset2File() argument 266 MS_LOG(ERROR) << "Save print file:" << print_file_path << " fail."; in SaveDataset2File()
|
/third_party/mindspore/tests/ut/python/pynative_mode/ |
D | test_context.py | 106 context.set_context(print_file_path="./")
|
/third_party/mindspore/mindspore/train/ |
D | serialization.py | 1041 print_file_path = os.path.realpath(print_file_name) 1043 if os.path.getsize(print_file_path) == 0: 1050 with open(print_file_path, "rb") as f:
|
/third_party/mindspore/tests/ut/python/utils/ |
D | test_serialize.py | 40 context.set_context(mode=context.GRAPH_MODE, print_file_path="print/print.pb")
|
/third_party/mindspore/tests/st/auto_monad/ |
D | test_auto_monad_mindtester.py | 472 context.set_context(print_file_path=print_file)
|