Home
last modified time | relevance | path

Searched refs:data_path (Results 1 – 18 of 18) sorted by relevance

/external/tensorflow/tensorflow/core/lib/jpeg/
Djpeg_mem_unittest.cc90 const string data_path = kTestData; in TEST() local
93 TestJPEG(env, data_path + "jpeg_merge_test1.jpg"); in TEST()
96 TestJPEG(env, data_path + "jpeg_merge_test1_cmyk.jpg"); in TEST()
184 const string data_path = kTestData; in TEST() local
188 TestCropAndDecodeJpeg(env, data_path + "jpeg_merge_test1.jpg", flags); in TEST()
189 TestCropAndDecodeJpeg(env, data_path + "jpeg_merge_test1_cmyk.jpg", flags); in TEST()
194 const string data_path = kTestData; in TEST() local
198 TestCropAndDecodeJpeg(env, data_path + "jpeg_merge_test1.jpg", flags); in TEST()
204 const string data_path = kTestData; in TEST() local
208 TestCropAndDecodeJpeg(env, data_path + "jpeg_merge_test1.jpg", flags); in TEST()
[all …]
/external/python/cpython3/Lib/test/test_tools/
Dtest_pindent.py38 data_path = os.path.join(directory, '_test.py')
41 with open(data_path, 'w') as f:
44 rc, out, err = assert_python_ok(self.script, '-d', data_path)
47 backup = data_path + '~'
51 with open(data_path) as f:
57 rc, out, err = assert_python_ok(self.script, '-c', data_path)
62 with open(data_path) as f:
66 with open(data_path, 'w') as f:
68 rc, out, err = assert_python_ok(self.script, '-r', data_path)
73 with open(data_path) as f:
/external/tensorflow/tensorflow/contrib/learn/python/learn/datasets/
Dbase.py99 def load_iris(data_path=None): argument
108 if data_path is None:
110 data_path = path.join(module_path, 'data', 'iris.csv')
112 data_path, target_dtype=np.int, features_dtype=np.float)
116 def load_boston(data_path=None): argument
125 if data_path is None:
127 data_path = path.join(module_path, 'data', 'boston_house_prices.csv')
129 data_path, target_dtype=np.float, features_dtype=np.float)
/external/python/cpython2/Lib/test/
Dtest_tools.py64 data_path = os.path.join(directory, '_test.py')
67 with open(data_path, 'w') as f:
70 rc, out, err = assert_python_ok(self.script, '-d', data_path)
73 backup = data_path + '~'
77 with open(data_path) as f:
83 rc, out, err = assert_python_ok(self.script, '-c', data_path)
88 with open(data_path) as f:
92 with open(data_path, 'w') as f:
94 rc, out, err = assert_python_ok(self.script, '-r', data_path)
99 with open(data_path) as f:
/external/toolchain-utils/
Dweekly_report.py165 data_path = os.path.join(DATA_ROOT_DIR, options.board, day)
166 if os.path.exists(data_path):
169 tar_file_path = os.path.join(data_path, tar_file_name)
171 image_path = os.path.join(data_path, image_dir)
176 (data_path, tar_file_path, image_path))
182 v_file_path = os.path.join(data_path, vanilla_file)
184 image_path = os.path.join(data_path, image_dir)
189 (data_path, v_file_path, image_path))
/external/openssh/regress/misc/kexfuzz/
Dkexfuzz.c349 const char *kex = NULL, *kpath = NULL, *data_path = NULL; in main() local
381 data_path = optarg; in main()
426 if (packet_index == -1 || direction == -1 || data_path == NULL) in main()
429 if ((fd = open(data_path, O_RDONLY)) == -1) in main()
430 err(1, "open %s", data_path); in main()
433 errx(1, "read %s: %s", data_path, ssh_err(r)); in main()
439 if (packet_index == -1 || direction == -1 || data_path == NULL) in main()
448 dump_flag ? data_path : NULL, in main()
/external/tensorflow/tensorflow/lite/models/
Dspeech_test.cc50 auto data_path = [](const string& s) { return string(kDataPath) + s; }; in ConvertCsvData() local
52 *out << "load_model: \"" << data_path(model_name) << "\"" << std::endl; in ConvertCsvData()
56 string in_file_name = data_path(in_name); in ConvertCsvData()
62 string out_file_name = data_path(out_name); in ConvertCsvData()
/external/antlr/runtime/Ruby/lib/
Dantlr3.rb124 def self.data_path( *args ) singletonMethod
147 path = data_path "antlr-full-#{ ANTLR_VERSION_STRING }.jar"
/external/libvpx/libvpx/test/
Dvideo_source.h38 const char *const data_path = getenv("LIBVPX_TEST_DATA_PATH"); in GetDataPath() local
39 if (data_path == NULL) { in GetDataPath()
49 return data_path; in GetDataPath()
Ddecode_perf_test.cc150 const std::string data_path = getenv("LIBVPX_TEST_DATA_PATH"); in BeginPassHook() local
151 const std::string path_to_source = data_path + "/" + kNewEncodeOutputFile; in BeginPassHook()
/external/libaom/libaom/test/
Dvideo_source.h37 const char *const data_path = getenv("LIBAOM_TEST_DATA_PATH"); in GetDataPath() local
38 if (data_path == NULL) { in GetDataPath()
48 return data_path; in GetDataPath()
Ddecode_perf_test.cc134 const std::string data_path(env ? env : "."); in BeginPassHook() local
135 const std::string path_to_source = data_path + "/" + kNewEncodeOutputFile; in BeginPassHook()
/external/tensorflow/tensorflow/python/training/
Dsupervisor_test.py260 data_path = os.path.join(logdir, "data.csv")
261 with open(data_path, "w") as f:
265 return data_path
272 data_path = self._csv_data(logdir)
276 [data_path], num_epochs=3)
291 data_path = self._csv_data(logdir)
295 [data_path], num_epochs=3)
310 data_path = self._csv_data(logdir)
315 [data_path], num_epochs=3)
/external/tensorflow/tensorflow/lite/tools/accuracy/ilsvrc/
Dimagenet_model_evaluator.cc272 string data_path = in EvaluateModel() local
275 const string imagenet_file_pattern = data_path + kImagenetFilePattern; in EvaluateModel()
/external/tensorflow/tensorflow/contrib/eager/python/examples/rnn_ptb/
Drnn_ptb.py301 if not FLAGS.data_path:
303 corpus = Datasets(FLAGS.data_path)
/external/tensorflow/tensorflow/tools/ci_build/builds/
Dtest_tutorials.sh247 --data_path="${DATA_DIR}/simple-examples/data" --model test
/external/python/cpython3/Lib/test/test_importlib/
Dutil.py527 data_path = Path(cls.ZIP_MODULE.__file__)
528 data_dir = data_path.parent
/external/jsoncpp/
DSConstruct214 data_path = os.path.join( jsontest_path, 'data' )
216 return runjsontests.runAllTests( os.path.abspath(source[0].path), data_path )