Home
last modified time | relevance | path

Searched refs:input_path (Results 1 – 25 of 39) sorted by relevance

12

/third_party/mindspore/scripts/
Dlite_release_package.sh26 tar -xzf ${input_path}/android_${arch}/${device}/${pkg_name}.tar.gz
28 cp ${input_path}/aar/mindspore-lite-*maven*.zip ${pkg_name}
40 cp ${input_path}/ios_aarch64/*.tar.gz* ${output_path}/release/ios/
41 cp ${input_path}/ios_aarch32/*.tar.gz* ${output_path}/release/ios/
47 cp ${input_path}/ubuntu_x86/avx/*.tar.gz* ${output_path}/release/linux/
49 cp ${input_path}/linux_aarch32/*.tar.gz* ${output_path}/release/linux/
50 cp ${input_path}/ubuntu_x86/nnie/3516D/*.tar.gz* ${output_path}/release/linux/nnie/
56 cp ${input_path}/windows_x64/avx/*.zip* ${output_path}/release/windows/
57 cp ${input_path}/windows_x32/sse/*.zip* ${output_path}/release/windows/
63 cp ${input_path}/ohos_aarch32/*.tar.gz* ${output_path}/release/openharmony/
[all …]
/third_party/jsoncpp/test/
Drunjsontests.py98 for input_path in tests + test_jsonchecker:
99 expect_failure = os.path.basename(input_path).startswith('fail')
100 is_json_checker_test = (input_path in test_jsonchecker) or expect_failure
101 print('TESTING:', input_path, end=' ')
105 input_path)
111 failed_tests.append((input_path, 'Parsing should have failed:\n%s' %
112 safeReadFile(input_path)))
118 failed_tests.append((input_path, 'Parsing failed:\n' + process_output))
122 base_path = os.path.splitext(input_path)[0]
128 failed_tests.append((input_path, 'Parsing failed:\n' + process_output))
[all …]
Dpyjsontestrunner.py19 input_path = sys.argv[1] variable
20 base_path = os.path.splitext(input_path)[0]
66 input = file(input_path, 'rt').read()
/third_party/mindspore/mindspore/profiler/common/
Dutil.py95 def get_file_join_name(input_path, file_name): argument
108 input_path = os.path.realpath(input_path)
109 if os.path.exists(input_path):
110 files = os.listdir(input_path)
120 file_join_name = os.path.join(input_path, name_list[0])
122 file_join_name = os.path.join(input_path, '%s.join' % file_name)
127 file = input_path + os.sep + i
133 def get_file_path(input_path, file_name): argument
145 input_path = os.path.realpath(input_path)
146 if os.path.exists(input_path):
[all …]
/third_party/skia/third_party/externals/tint/tools/
Drun_tests.py40 def __init__(self, input_path, parse_only): argument
41 self.input_path = input_path
53 return self.input_path
219 input_path = os.path.join(self.options.test_dir, filename)
220 if not os.path.isfile(input_path):
225 TestCase(input_path, self.options.parse_only))
231 input_path = os.path.join(file_dir, input_filename)
232 if os.path.isfile(input_path):
234 TestCase(input_path, self.options.parse_only))
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/arm/fp32_grad/
Dactivation_grad_fp32_tests.cc43 std::string input_path = "./activationGrad/relu_y_50.bin"; in TEST_F() local
44 …auto input_data = reinterpret_cast<float *>(mindspore::lite::ReadFile(input_path.c_str(), &input_s… in TEST_F()
97 std::string input_path = "./activationGrad/relu6_y_50.bin"; in TEST_F() local
98 …auto input_data = reinterpret_cast<float *>(mindspore::lite::ReadFile(input_path.c_str(), &input_s… in TEST_F()
148 std::string input_path = "./activationGrad/lrelu_y_50.bin"; in TEST_F() local
149 …auto input_data = reinterpret_cast<float *>(mindspore::lite::ReadFile(input_path.c_str(), &input_s… in TEST_F()
199 std::string input_path = "./activationGrad/sigmoid_y_50.bin"; in TEST_F() local
200 …auto input_data = reinterpret_cast<float *>(mindspore::lite::ReadFile(input_path.c_str(), &input_s… in TEST_F()
251 std::string input_path = "./activationGrad/tanh_y_50.bin"; in TEST_F() local
252 …auto input_data = reinterpret_cast<float *>(mindspore::lite::ReadFile(input_path.c_str(), &input_s… in TEST_F()
[all …]
Dsoftmax_grad_fp32_tests.cc72 std::string input_path = "./softmax/softmaxgrad_yinput.bin"; in TEST_F() local
73 …auto input_data = reinterpret_cast<float *>(mindspore::lite::ReadFile(input_path.c_str(), &input_s… in TEST_F()
133 std::string input_path = "./softmax/softmaxgrad_1_yinput.bin"; in TEST_F() local
134 …auto input_data = reinterpret_cast<float *>(mindspore::lite::ReadFile(input_path.c_str(), &input_s… in TEST_F()
198 std::string input_path = "./softmax/softmaxgrad_2_yinput.bin"; in TEST_F() local
199 …auto input_data = reinterpret_cast<float *>(mindspore::lite::ReadFile(input_path.c_str(), &input_s… in TEST_F()
263 std::string input_path = "./softmax/softmaxgrad_3_yinput.bin"; in TEST_F() local
264 …auto input_data = reinterpret_cast<float *>(mindspore::lite::ReadFile(input_path.c_str(), &input_s… in TEST_F()
328 std::string input_path = "./softmax/softmaxgrad_-1_yinput.bin"; in TEST_F() local
329 …auto input_data = reinterpret_cast<float *>(mindspore::lite::ReadFile(input_path.c_str(), &input_s… in TEST_F()
Dbias_grad_fp32_tests.cc38 std::string input_path = "./operators/biasgradfp32_1_dy_10_28_28_7.bin"; in TEST_F() local
39 …auto input_data = reinterpret_cast<float *>(mindspore::lite::ReadFile(input_path.c_str(), &input_s… in TEST_F()
93 std::string input_path = "./operators/fc_yt.f32"; in TEST_F() local
94 …auto input_data = reinterpret_cast<float *>(mindspore::lite::ReadFile(input_path.c_str(), &input_s… in TEST_F()
Ddeconvolution_grad_fp32_tests.cc77 std::string input_path = "./deconv/deconvfp32_input0_2_3_32_32.bin"; in TEST_F() local
78 …auto input_data = reinterpret_cast<float *>(mindspore::lite::ReadFile(input_path.c_str(), &input_s… in TEST_F()
185 std::string input_path = "./deconv/deconvfp32_input0_d2_2_3_32_32.bin"; in TEST_F() local
186 …auto input_data = reinterpret_cast<float *>(mindspore::lite::ReadFile(input_path.c_str(), &input_s… in TEST_F()
290 std::string input_path = "./deconv/deconvfp32_input0_d2_g3_2_3_32_32.bin"; in TEST_F() local
291 …auto input_data = reinterpret_cast<float *>(mindspore::lite::ReadFile(input_path.c_str(), &input_s… in TEST_F()
394 std::string input_path = "./deconv/deconvfp32_input0_d2_g3_s1_2_3_32_32.bin"; in TEST_F() local
395 …auto input_data = reinterpret_cast<float *>(mindspore::lite::ReadFile(input_path.c_str(), &input_s… in TEST_F()
501 std::string input_path = "./deconv/deconvfp32_input0_d2_g2_s2_2_4_32_32.bin"; in TEST_F() local
502 …auto input_data = reinterpret_cast<float *>(mindspore::lite::ReadFile(input_path.c_str(), &input_s… in TEST_F()
[all …]
Dsoftmax_crossentropy_fp32_tests.cc37 std::string input_path = "./operators/sce_fp32_1_y_6_4.bin"; in TEST_F() local
38 …auto input_data = reinterpret_cast<float *>(mindspore::lite::ReadFile(input_path.c_str(), &input_s… in TEST_F()
Dconvolution_grad_fp32_tests.cc98 std::string input_path = "./conv/convfp32_x_1_28_28_3.bin"; in TEST_F() local
99 …auto input_data = reinterpret_cast<float *>(mindspore::lite::ReadFile(input_path.c_str(), &input_s… in TEST_F()
253 std::string input_path = "./conv/convfp32_x_g3_1_28_28_3.bin"; in TEST_F() local
254 …auto input_data = reinterpret_cast<float *>(mindspore::lite::ReadFile(input_path.c_str(), &input_s… in TEST_F()
403 std::string input_path = "./conv/convfp32_x_g3_d2_1_28_28_3.bin"; in TEST_F() local
404 …auto input_data = reinterpret_cast<float *>(mindspore::lite::ReadFile(input_path.c_str(), &input_s… in TEST_F()
654 std::string input_path = "./conv/convfp32_input0_d2_g2_s2_2_4_32_32.bin"; in TEST_F() local
655 …auto input_data = reinterpret_cast<float *>(mindspore::lite::ReadFile(input_path.c_str(), &input_s… in TEST_F()
/third_party/boost/libs/spirit/example/x3/rexpr/rexpr_full/test/
Dtesting.hpp63 fs::path input_path, fs::path expect_path
191 auto input_path = i->path(); in for_each_file() local
192 auto expect_path = input_path; in for_each_file()
194 f(input_path, expect_path); in for_each_file()
224 fs::path input_path, fs::path expect_path in compare() argument
230 std::string output = f(load(input_path), input_path); in compare()
Dparse_rexpr_test.cpp23 auto parse = [](std::string const& source, fs::path input_path)-> std::string
38 error_handler_type error_handler(iter, end, out, input_path.string()); // Our error handler in __anonb0c3806c0102()
65 auto compare = [](fs::path input_path, fs::path expect_path)
67 testing::compare(input_path, expect_path, parse); in __anonb0c3806c0202()
/third_party/mindspore/mindspore/profiler/parser/
Dminddata_parser.py101 input_path=source_path, file_name='DATA_PREPROCESS.AICPUMI')
104 input_path=source_path, file_name='DATA_PREPROCESS.dev.AICPUMI')
107input_path=os.path.join(source_path, "data"), file_name='DATA_PREPROCESS.AICPUMI')
110input_path=os.path.join(source_path, "data"), file_name='DATA_PREPROCESS.dev.AICPUMI')
Dhwts_log_parser.py38 def __init__(self, input_path, output_filename): argument
39 self._input_path = input_path
/third_party/glib/gio/tests/
Dasync-splice-output-stream.c46 gchar *input_path; member
94 g_unlink (data->input_path); in test_copy_chunks_splice_cb()
95 g_free (data->input_path); in test_copy_chunks_splice_cb()
132 data.input_path = g_file_get_path (file); in test_copy_chunks_start()
133 g_file_set_contents (data.input_path, in test_copy_chunks_start()
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/arm/fp16_grad/
Dactivation_grad_fp16_test.cc36 std::string input_path = "./activationGrad/relu_y_50.bin"; in TEST_F() local
37 …auto input_data = reinterpret_cast<float *>(mindspore::lite::ReadFile(input_path.c_str(), &input_s… in TEST_F()
93 std::string input_path = "./activationGrad/sigmoid_y_50.bin"; in TEST_F() local
94 …auto input_data = reinterpret_cast<float *>(mindspore::lite::ReadFile(input_path.c_str(), &input_s… in TEST_F()
Darithmetic_fp16_self_grad_tests.cc36 std::string input_path = "./activationGrad/log_x_50.bin"; in TEST_F() local
37 …auto input_data = reinterpret_cast<float *>(mindspore::lite::ReadFile(input_path.c_str(), &input_s… in TEST_F()
/third_party/boost/tools/quickbook/test/python/
Drun_tests.py29 input_path = ['sub1', 'sub2'])
33 input_path = ['sub1', 'sub2'])
56 deps_gold = None, locations_gold = None, input_path = [], argument
77 for path in input_path:
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/arm/common/
Dpack_tests.cc59 std::string input_path = "./test_data/conv/convfp32_input_1_28_28_3.bin"; in TEST_F() local
60 …auto input_data = reinterpret_cast<float *>(mindspore::lite::ReadFile(input_path.c_str(), &input_s… in TEST_F()
116 std::string input_path = "./test_data/conv/convfp32_input_1_28_28_3.bin"; in TEST_F() local
117 …auto input_data = reinterpret_cast<float *>(mindspore::lite::ReadFile(input_path.c_str(), &input_s… in TEST_F()
/third_party/skia/third_party/externals/icu/source/python/icutools/databuilder/renderers/
Dcommon_exec.py55 input_path = "{DIRNAME}/{FILENAME}".format(
65 shutil.copyfile(input_path, output_path)
/third_party/icu/icu4c/source/python/icutools/databuilder/renderers/
Dcommon_exec.py55 input_path = "{DIRNAME}/{FILENAME}".format(
65 shutil.copyfile(input_path, output_path)
/third_party/mindspore/mindspore/ccsrc/debug/
Dcommon.cc30 std::optional<std::string> Common::CreatePrefixPath(const std::string &input_path, const bool suppo… in CreatePrefixPath() argument
33 FileUtils::SplitDirAndFileName(input_path, &prefix_path, &file_name); in CreatePrefixPath()
35 MS_LOG(ERROR) << "Cannot get file_name from: " << input_path; in CreatePrefixPath()
/third_party/mindspore/tests/ut/cpp/mindrecord/
Dut_common.cc59 string input_path = directory; in LoadData() local
60 ifstream infile(input_path); in LoadData()
76 string input_path = directory; in LoadDataFromImageNet() local
77 ifstream infile(input_path); in LoadDataFromImageNet()
/third_party/skia/third_party/externals/brotli/c/tools/
Dbrotli.c590 static BROTLI_BOOL OpenInputFile(const char* input_path, FILE** f) { in OpenInputFile() argument
592 if (!input_path) { in OpenInputFile()
596 *f = fopen(input_path, "rb"); in OpenInputFile()
599 PrintablePath(input_path), strerror(errno)); in OpenInputFile()
649 static void CopyStat(const char* input_path, const char* output_path) { in CopyStat() argument
653 if (input_path == 0 || output_path == 0) { in CopyStat()
656 if (stat(input_path, &statbuf) != 0) { in CopyStat()

12