Home
last modified time | relevance | path

Searched refs:image_path (Results 1 – 25 of 35) sorted by relevance

12

/external/tensorflow/tensorflow/lite/tools/
Dconvert_image_to_csv_test.py37 image_path = os.path.join(PREFIX_PATH, "jpeg", "testdata", "no_such.jpg")
39 _ = convert_image_to_csv.get_image(64, 96, False, image_path)
42 image_path = os.path.join(PREFIX_PATH, "jpeg", "testdata", "small.jpg")
43 image_data = convert_image_to_csv.get_image(64, 96, False, image_path)
47 image_path = os.path.join(PREFIX_PATH, "jpeg", "testdata", "medium.jpg")
48 image_data = convert_image_to_csv.get_image(40, 20, True, image_path)
52 image_path = os.path.join(PREFIX_PATH, "png", "testdata", "lena_rgba.png")
53 image_data = convert_image_to_csv.get_image(10, 10, False, image_path)
57 image_path = os.path.join(PREFIX_PATH, "png", "testdata", "lena_gray.png")
58 image_data = convert_image_to_csv.get_image(23, 19, False, image_path)
[all …]
/external/toolchain-utils/deprecated/
Dweekly_report.py173 image_path = os.path.join(data_path, image_dir)
175 if not os.path.exists(image_path):
176 os.makedirs(image_path)
178 (data_path, tar_file_path, image_path))
181 report_image_paths.append(image_path)
186 image_path = os.path.join(data_path, image_dir)
188 if not os.path.exists(image_path):
189 os.makedirs(image_path)
191 (data_path, v_file_path, image_path))
194 vanilla_image_paths.append(image_path)
[all …]
/external/autotest/server/site_tests/firmware_Cr50Update/
Dfirmware_Cr50Update.py92 image_ver, image_ver_str, image_path = self.images[image_name]
94 dest, ver = cr50_utils.InstallImage(self.host, image_path,
113 self.cr50_update(image_path, rollback=rollback)
176 def add_image_to_update_order(self, image_name, image_path, ver=None): argument
192 if not os.path.isfile(image_path):
193 image_path, ver = self.fetch_image(ver)
195 _, ver = cr50_utils.InstallImage(self.host, image_path, tmp_file)
200 self.images[image_name] = (ver, ver_str, image_path)
201 logging.info("%s stored at %s with version %s", image_name, image_path,
/external/toolchain-utils/crosperf/
Ddownload_images_unittest.py43 image_path = ('gs://chromeos-image-archive/%s/chromiumos_test_image.tar.xz'
53 test_chroot, test_build_id, image_path)
84 downloader.DownloadImage(test_chroot, test_build_id, image_path)
184 def GoodDownloadImage(root, build_id, image_path): argument
185 if root or build_id or image_path:
190 def BadDownloadImage(root, build_id, image_path): argument
191 if root or build_id or image_path:
225 image_path, autotest_path, debug_path = downloader.Run(
237 self.assertTrue(image_path == 'chromiumos_test_image.bin')
245 image_path, autotest_path, debug_path = downloader.Run(
Ddownload_images.py78 image_path = os.path.join(download_path, 'chromiumos_test_image.bin')
84 if not os.path.exists(image_path):
96 return image_path
311 image_path = self.DownloadImage(chromeos_root, build_id, image_name)
315 self._logger.LogOutput('Using image from %s.' % image_path)
323 return image_path, autotest_path, debug_path
Dexperiment_file.py176 image_path, autotest_path, debug_path = settings.GetXbuddyPath(
179 res += '\t#actual_image: %s\n' % image_path
/external/tensorflow/tensorflow/lite/tools/evaluation/stages/
Dimage_preprocessing_stage_test.cc62 std::string image_path = kTestImage; in TEST() local
75 stage.SetImagePath(&image_path); in TEST()
103 std::string image_path = kTestImage; in TEST() local
115 stage.SetImagePath(&image_path); in TEST()
143 std::string image_path = kTestImage; in TEST() local
155 stage.SetImagePath(&image_path); in TEST()
183 std::string image_path = kTestImage; in TEST() local
196 stage.SetImagePath(&image_path); in TEST()
224 std::string image_path = kTestImage; in TEST() local
238 stage.SetImagePath(&image_path); in TEST()
[all …]
Dimage_classification_stage.h55 void SetInputs(const std::string& image_path, in SetInputs() argument
57 image_path_ = image_path; in SetInputs()
Dobject_detection_stage.h61 void SetInputs(const std::string& image_path, in SetInputs() argument
63 image_path_ = image_path; in SetInputs()
Dimage_preprocessing_stage.h48 void SetImagePath(std::string* image_path) { image_path_ = image_path; } in SetImagePath() argument
/external/avb/test/
Davb_unittest_util.cc134 base::FilePath image_path = testdir_.Append(file_name); in GenerateImage() local
137 base::WriteFile(image_path, in GenerateImage()
140 return image_path; in GenerateImage()
143 std::string BaseAvbToolTest::InfoImage(const base::FilePath& image_path) { in InfoImage() argument
147 image_path.value().c_str(), in InfoImage()
Davb_unittest_util.h91 std::string InfoImage(const base::FilePath& image_path);
/external/u-boot/cmd/
Dbootefi.c358 struct efi_device_path *device_path, *image_path; in do_bootefi_image() local
381 image_path = NULL; in do_bootefi_image()
399 image_path = bootefi_image_path; in do_bootefi_image()
402 if (!device_path && !image_path) { in do_bootefi_image()
423 assert(device_path && image_path); in do_bootefi_image()
424 file_path = efi_dp_append(device_path, image_path); in do_bootefi_image()
449 struct efi_device_path *image_path, in bootefi_run_prepare() argument
455 ret = efi_setup_loaded_image(device_path, image_path, image_objp, in bootefi_run_prepare()
/external/avb/
Daftltool_test.py392 image_path = self.get_testdata_path(
394 vbmeta_image, _ = tool.get_vbmeta_image(image_path)
395 desc = tool.get_aftl_descriptor(image_path)
423 image_path = self.get_testdata_path(
425 vbmeta_image, _ = tool.get_vbmeta_image(image_path)
426 desc = tool.get_aftl_descriptor(image_path)
451 image_path = self.get_testdata_path(
453 vbmeta_image, _ = tool.get_vbmeta_image(image_path)
454 desc = tool.get_aftl_descriptor(image_path)
764 image_path = self.get_testdata_path(
[all …]
/external/toolchain-utils/
Dchromiumos_image_diff.py318 for i, image_path in enumerate([options.image1, options.image2], start=1):
319 image_path = os.path.realpath(image_path)
320 if not os.path.isfile(image_path):
321 logger.getLogger().LogError('"{0}" is not a file.'.format(image_path))
329 t = image_path
342 image = CrosImage(image_path, chromeos_root, options.no_unmount)
/external/pdfium/testing/tools/
Dsafetynet_image.py199 def _WritePageTd(self, f, image_path): argument
207 f.write('<img src="%s">' % image_path)
287 os.path.split(image_path)[1]: image_path for image_path in image_paths
/external/autotest/server/site_tests/platform_StageAndRecover/
Dplatform_StageAndRecover.py57 _, image_path = self.host.stage_image_for_servo(
60 logging.info('%s staged at %s', artifact, image_path)
65 self.host.servo.image_to_servo_usb(image_path,
/external/grpc-grpc/tools/interop_matrix/
Drun_interop_matrix_tests.py126 image_path = '%s/grpc_interop_%s' % (args.gcr_path, runtime)
129 '--format=json', image_path
137 'Found images for %s: %s' % (image_path, tags),
145 images[runtime] = [(tag, '%s:%s' % (image_path, tag))
/external/autotest/site_utils/stable_images/
Dbuild_data.py125 image_path = frontend.format_cros_image_name(board, cros_version)
126 return _read_gs_json_data(_BUILD_METADATA_PATTERN % image_path)
/external/autotest/server/cros/servo/
Dservo.py952 def image_to_servo_usb(self, image_path=None, argument
982 if image_path:
987 if not self._server.download_image_to_usb(image_path):
1003 def install_recovery_image(self, image_path=None, argument
1017 self.image_to_servo_usb(image_path, make_image_noninteractive)
1020 if not image_path:
1025 def _scp_image(self, image_path): argument
1038 name = os.path.basename(image_path)
1042 self._servo_host.send_file(image_path, dest_path)
/external/autotest/client/cros/faft/utils/
Dfirmware_updater.py193 image_path = self._get_image_path(target)
194 if target == 'ec' and not os.path.isfile(image_path):
199 handler.new_image(image_path)
215 image_path = self._get_image_path(target)
216 if target == 'ec' and not os.path.isfile(image_path):
221 handler.new_image(image_path)
/external/toolchain-utils/deprecated/automation/clients/helper/
Dchromeos.py32 image_path = os.path.join(self._chromeos_root, 'src/build/images', board,
40 image_path,
/external/u-boot/board/gdsys/p1022/
Dcontrolcenterd-id.c1048 const char *image_path = "/ccdm.itb"; in second_stage_init() local
1085 image_path = cptr; in second_stage_init()
1087 mac_path = malloc(strlen(image_path) + strlen(mac_suffix) + 1); in second_stage_init()
1090 strcpy(mac_path, image_path); in second_stage_init()
1097 if (fs_read(image_path, image_addr, 0, 0, &image_size) < 0) in second_stage_init()
/external/autotest/server/site_tests/factory_InstallServo/
Dfactory_InstallServo.py66 self.servo.install_recovery_image(image_path=shim_image)
/external/tensorflow/tensorflow/examples/label_image/
Dmain.cc336 string image_path = tensorflow::io::JoinPath(root_dir, image); in main() local
338 ReadTensorFromImageFile(image_path, input_height, input_width, input_mean, in main()

12