Home
last modified time | relevance | path

Searched full:image_path (Results 1 – 25 of 136) sorted by relevance

123456

/external/tensorflow/tensorflow/lite/tools/
Dconvert_image_to_csv_test.py32 image_path = os.path.join(PREFIX_PATH, "jpeg", "testdata", "no_such.jpg")
34 _ = convert_image_to_csv.get_image(64, 96, False, image_path)
37 image_path = os.path.join(PREFIX_PATH, "jpeg", "testdata", "small.jpg")
38 image_data = convert_image_to_csv.get_image(64, 96, False, image_path)
42 image_path = os.path.join(PREFIX_PATH, "jpeg", "testdata", "medium.jpg")
43 image_data = convert_image_to_csv.get_image(40, 20, True, image_path)
47 image_path = os.path.join(PREFIX_PATH, "png", "testdata", "lena_rgba.png")
48 image_data = convert_image_to_csv.get_image(10, 10, False, image_path)
52 image_path = os.path.join(PREFIX_PATH, "png", "testdata", "lena_gray.png")
53 image_data = convert_image_to_csv.get_image(23, 19, False, image_path)
[all …]
/external/autotest/server/site_tests/firmware_Cr50Update/
Dfirmware_Cr50Update.py91 image_ver, image_ver_str, image_path = self.images[image_name]
93 dest, ver = cr50_utils.InstallImage(self.host, image_path,
112 self.cr50_update(image_path, rollback=rollback)
175 def add_image_to_update_order(self, image_name, image_path, ver=None): argument
185 @param image_path: the path for the image.
191 if not os.path.isfile(image_path):
192 image_path, ver = self.fetch_image(ver)
194 _, ver = cr50_utils.InstallImage(self.host, image_path, tmp_file)
199 self.images[image_name] = (ver, ver_str, image_path)
200 logging.info("%s stored at %s with version %s", image_name, image_path,
/external/toolchain-utils/crosperf/
Ddownload_images_unittest.py42 image_path = (
59 image_path,
95 downloader.DownloadImage(test_chroot, test_build_id, image_path)
209 def GoodDownloadImage(root, build_id, image_path): argument
210 if root or build_id or image_path:
215 def BadDownloadImage(root, build_id, image_path): argument
216 if root or build_id or image_path:
250 image_path, autotest_path, debug_path = downloader.Run(
266 self.assertTrue(image_path == "chromiumos_test_image.bin")
274 image_path, autotest_path, debug_path = downloader.Run(
Ddownload_images.py83 image_path = os.path.join(download_path, "chromiumos_test_image.bin")
89 if not os.path.exists(image_path):
104 return image_path
387 image_path = self.DownloadImage(chromeos_root, build_id, image_name)
391 self._logger.LogOutput("Using image from %s." % image_path)
399 return image_path, autotest_path, debug_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.h57 void SetInputs(const std::string& image_path, in SetInputs() argument
59 image_path_ = image_path; in SetInputs()
Dobject_detection_stage.h64 void SetInputs(const std::string& image_path, in SetInputs() argument
66 image_path_ = image_path; in SetInputs()
Dimage_preprocessing_stage.h50 void SetImagePath(std::string* image_path) { image_path_ = image_path; } in SetImagePath() argument
/external/autotest/server/site_tests/firmware_CsmeFwUpdate/
Dfirmware_CsmeFwUpdate.py48 image_path = os.path.expanduser(arg_value)
49 if not os.path.isfile(image_path):
52 % (arg_name, image_path))
53 self.bios_input = image_path
138 def check_fmap_format(self, image_path): argument
142 @param image_path: path of the image
148 "image : %s", image_path)
149 command = "futility dump_fmap -F %s | grep ME_RW_A" % image_path
158 def check_if_me_blob_exist_in_image(self, image_path): argument
162 @param image_path: path of the image
[all …]
/external/avb/test/
Davb_unittest_util.cc129 base::FilePath image_path = testdir_.Append(file_name); in GenerateImage() local
137 image_path.value().c_str()); in GenerateImage()
139 EXPECT_TRUE(base::GetFileInfo(image_path, &stats)); in GenerateImage()
141 return image_path; in GenerateImage()
144 std::string BaseAvbToolTest::InfoImage(const base::FilePath& image_path) { in InfoImage() argument
148 image_path.value().c_str(), in InfoImage()
/external/pdfium/testing/tools/
Dtest_runner.py83 if self.IsResultSuppressed(artifact.image_path):
100 print(f'Failed Skia Gold: {artifact.image_path}')
729 image_path, md5_hash = line[4:].rsplit(':', 1)
732 image_path=image_path.strip(), md5_hash=md5_hash.strip()))
756 artifact.image_diff = diff_map.get(artifact.image_path)
772 def _NewImageArtifact(self, *, image_path, md5_hash): argument
773 artifact = ImageArtifact(image_path=image_path, md5_hash=md5_hash)
777 artifact.GetSkiaGoldId(), artifact.image_path):
835 image_path: The absolute path to the image file.
840 image_path: str
[all …]
Dsafetynet_image.py198 def _WritePageTd(self, f, image_path): argument
203 image_path: Path to image file.
206 f.write('<img src="%s">' % image_path)
286 os.path.split(image_path)[1]: image_path for image_path in image_paths
/external/toolchain-utils/
Dchromiumos_image_diff.py363 for i, image_path in enumerate(
366 image_path = os.path.realpath(image_path)
367 if not os.path.isfile(image_path):
369 '"{0}" is not a file.'.format(image_path)
378 t = image_path
392 image = CrosImage(image_path, chromeos_root, options.no_unmount)
/external/tensorflow/tensorflow/compiler/mlir/g3doc/
D_index.yaml39 image_path: /resources/images/tf-logo-card-16x9.png
45 image_path: /resources/images/github-card-16x9.png
51 image_path: /resources/images/github-card-16x9.png
/external/tflite-support/tensorflow_lite_support/examples/task/vision/desktop/
DREADME.md32 --image_path=\
86 --image_path=\
143 --image_path=\
Dimage_classifier_demo.cc21 // --image_path=/path/to/image.jpg
41 ABSL_FLAG(std::string, image_path, "",
155 std::cerr << "Missing mandatory 'image_path' argument.\n"; in main()
Dimage_segmenter_demo.cc21 // --image_path=/path/to/image.jpg \
42 ABSL_FLAG(std::string, image_path, "",
181 std::cerr << "Missing mandatory 'image_path' argument.\n"; in main()
Dobject_detector_demo.cc21 // --image_path=/path/to/image.jpg \
45 ABSL_FLAG(std::string, image_path, "",
225 std::cerr << "Missing mandatory 'image_path' argument.\n"; in main()
/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/armnn/samples/ImageClassification/
Drun_classifier.py55 def load_image(image_path: Path, model_input_dims: Union[tuple, list], grayscale: bool):
59 - image_path: pathlib.Path
67 image = Image.open(image_path).resize((width, height))
/external/autotest/server/site_tests/platform_StageAndRecover/
Dplatform_StageAndRecover.py63 _, image_path = self.host.stage_image_for_servo(
66 logging.info('%s staged at %s', artifact, image_path)
69 self.host.servo.image_to_servo_usb(image_path,
/external/tensorflow/tensorflow/lite/g3doc/examples/modify/model_maker/
Dimage_classification.ipynb164 "image_path = tf.keras.utils.get_file(\n",
168 "image_path = os.path.join(os.path.dirname(image_path), 'flower_photos')"
177 …"You could replace `image_path` with your own image folders. As for uploading data to colab, you c…
218 "data = DataLoader.from_folder(image_path)\n",
354 "image_path = tf.keras.utils.get_file(\n",
358 "image_path = os.path.join(os.path.dirname(image_path), 'flower_photos')"
380 "data = DataLoader.from_folder(image_path)"
/external/tflite-support/tensorflow_lite_support/examples/task/vision/desktop/utils/
Dimage_utils.cc61 const std::string& image_path) { in EncodeImageToPngFile() argument
81 image_path.c_str(), image_data.width, image_data.height, in EncodeImageToPngFile()
/external/autotest/server/site_tests/firmware_FWupdate/
Dfirmware_FWupdate.py62 image_path = os.path.expanduser(arg_value)
63 if not os.path.isabs(image_path):
67 if not os.path.isfile(image_path):
71 self.images[arg_name] = image_path
/external/autotest/server/cros/servo/
Dservo.py1193 def image_to_servo_usb(self, image_path=None, argument
1203 @param image_path: Path on the host to the recovery image.
1217 if image_path:
1223 self.set_nocheck('download_image_to_usb_dev', image_path)
1273 image_path=None, argument
1287 @param image_path: Path on the host to the recovery image.
1294 self.image_to_servo_usb(image_path, make_image_noninteractive)
1297 if not image_path:
1302 def _scp_image(self, image_path): argument
1313 @param image_path: a string, name of the firmware image file to be
[all …]

123456