/external/tensorflow/tensorflow/core/platform/ |
D | file_system_test.cc | 78 const string& parent_path = io::JoinPath(split_path[0], split_path[1]); in CreateDir() 155 ipfs->GetMatchingPaths(io::JoinPath(kPrefix, suffix_pattern), &results); in Match() 182 TF_EXPECT_OK(ipfs.CreateDir(io::JoinPath(kPrefix, "Planet0"))); in TEST() 183 TF_EXPECT_OK(ipfs.CreateDir(io::JoinPath(kPrefix, "Planet1"))); in TEST() 190 TF_EXPECT_OK(ipfs.CreateDir(io::JoinPath(kPrefix, "match-00"))); in TEST() 191 TF_EXPECT_OK(ipfs.CreateDir(io::JoinPath(kPrefix, "match-0a"))); in TEST() 192 TF_EXPECT_OK(ipfs.CreateDir(io::JoinPath(kPrefix, "match-01"))); in TEST() 193 TF_EXPECT_OK(ipfs.CreateDir(io::JoinPath(kPrefix, "match-aaa"))); in TEST() 206 TF_EXPECT_OK(ipfs.CreateDir(io::JoinPath(kPrefix, "abcd"))); in TEST() 207 TF_EXPECT_OK(ipfs.CreateDir(io::JoinPath(kPrefix, "evil_directory"))); in TEST() [all …]
|
D | env_test.cc | 56 string BaseDir() { return io::JoinPath(testing::TmpDir(), "base_dir"); } in BaseDir() 72 const string filename = io::JoinPath(BaseDir(), "out_of_range"); in TEST_F() 142 io::JoinPath(BaseDir(), strings::StrCat("file", length)); in TEST_F() 166 const string parent_dir = io::JoinPath(BaseDir(), "root_dir"); in TEST_F() 167 const string child_dir1 = io::JoinPath(parent_dir, "child_dir1"); in TEST_F() 168 const string child_dir2 = io::JoinPath(parent_dir, "child_dir2"); in TEST_F() 170 const string root_file1 = io::JoinPath(parent_dir, "root_file1"); in TEST_F() 171 const string root_file2 = io::JoinPath(parent_dir, "root_file2"); in TEST_F() 172 const string root_file3 = io::JoinPath(parent_dir, ".root_file3"); in TEST_F() 177 const string child1_file1 = io::JoinPath(child_dir1, "child1_file1"); in TEST_F() [all …]
|
D | file_system_helper.cc | 67 fixed_prefix = io::JoinPath(dir, fixed_prefix); in GetMatchingPaths() 68 eval_pattern = io::JoinPath(dir, pattern); in GetMatchingPaths() 96 const string child_path = io::JoinPath(current_dir, children[i]); in GetMatchingPaths() 107 const string child_path = io::JoinPath(current_dir, children[i]); in GetMatchingPaths()
|
/external/tensorflow/tensorflow/cc/saved_model/ |
D | loader_test.cc | 56 io::JoinPath(export_dir, kSavedModelAssetsDirectory); in ValidateAssets() 58 const string asset_filepath = io::JoinPath(asset_directory, asset_filename); in ValidateAssets() 109 io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataSharded); in TEST_F() 123 io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataSharded); in TEST_F() 135 io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataSharded); in TEST_F() 151 io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataSharded); in TEST_F() 171 io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataSharded); in TEST_F() 185 io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataPbTxt); in TEST_F() 197 io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataMainOp); in TEST_F() 209 io::JoinPath(testing::TensorFlowSrcRoot(), "missing-path"); in TEST_F() [all …]
|
D | reader_test.cc | 53 io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataSharded); in TEST_F() 63 io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataSharded); in TEST_F() 77 io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataSharded); in TEST_F() 91 io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataPbTxt); in TEST_F() 101 io::JoinPath(testing::TensorFlowSrcRoot(), "missing-path"); in TEST_F()
|
D | loader.cc | 89 Tensor assets_file_path_tensor = CreateStringTensor(io::JoinPath( in AddAssetsTensorsToInputs() 204 io::JoinPath(export_dir, kSavedModelVariablesDirectory); in RunRestore() 208 const string variables_index_path = io::JoinPath( in RunRestore() 217 io::JoinPath(variables_directory, kSavedModelVariablesFilename); in RunRestore() 327 io::JoinPath(export_dir, kSavedModelFilenamePb); in MaybeSavedModelDirectory() 329 io::JoinPath(export_dir, kSavedModelFilenamePbTxt); in MaybeSavedModelDirectory()
|
/external/tensorflow/tensorflow/core/lib/io/ |
D | path_test.cc | 22 TEST(PathTest, JoinPath) { in TEST() argument 23 EXPECT_EQ("/foo/bar", JoinPath("/foo", "bar")); in TEST() 24 EXPECT_EQ("foo/bar", JoinPath("foo", "bar")); in TEST() 25 EXPECT_EQ("foo/bar", JoinPath("foo", "/bar")); in TEST() 26 EXPECT_EQ("/foo/bar", JoinPath("/foo", "/bar")); in TEST() 28 EXPECT_EQ("/bar", JoinPath("", "/bar")); in TEST() 29 EXPECT_EQ("bar", JoinPath("", "bar")); in TEST() 30 EXPECT_EQ("/foo", JoinPath("/foo", "")); in TEST() 33 JoinPath("/foo/bar/baz/", "/blah/blink/biz")); in TEST() 34 EXPECT_EQ("/foo/bar/baz/blah", JoinPath("/foo", "bar", "baz", "blah")); in TEST()
|
/external/tensorflow/tensorflow/core/profiler/internal/ |
D | tfprof_show_test.cc | 45 io::JoinPath(testing::TensorFlowSrcRoot(), in TFProfShowTest() 54 io::JoinPath(testing::TensorFlowSrcRoot(), in TFProfShowTest() 61 io::JoinPath(testing::TensorFlowSrcRoot(), in TFProfShowTest() 65 string ckpt_path = io::JoinPath(testing::TensorFlowSrcRoot(), in TFProfShowTest() 80 string profile_file = io::JoinPath(testing::TmpDir(), "profile"); in TestToFromProto() 99 string dump_file = io::JoinPath(testing::TmpDir(), "dump"); in TEST_F() 128 string dump_file = io::JoinPath(testing::TmpDir(), "dump"); in TEST_F() 175 string dump_file = io::JoinPath(testing::TmpDir(), "dump"); in TEST_F()
|
D | tfprof_timeline_test.cc | 39 io::JoinPath(testing::TensorFlowSrcRoot(), in TFProfTimelineTest() 48 io::JoinPath(testing::TensorFlowSrcRoot(), in TFProfTimelineTest() 64 string dump_file = io::JoinPath(testing::TmpDir(), "dump"); in TEST_F() 78 string dump_file = io::JoinPath(testing::TmpDir(), "dump"); in TEST_F()
|
D | tfprof_stats_test.cc | 39 io::JoinPath(testing::TensorFlowSrcRoot(), in TFProfStatsTest() 48 io::JoinPath(testing::TensorFlowSrcRoot(), in TFProfStatsTest() 55 io::JoinPath(testing::TensorFlowSrcRoot(), in TFProfStatsTest() 59 string ckpt_path = io::JoinPath(testing::TensorFlowSrcRoot(), in TFProfStatsTest() 73 string profile_file = io::JoinPath(testing::TmpDir(), "profile"); in TestToFromProto()
|
/external/tensorflow/tensorflow/core/grappler/inputs/ |
D | utils_test.cc | 27 string BaseDir() { return io::JoinPath(testing::TmpDir(), "base_dir"); } in BaseDir() 31 non_existent_file_ = io::JoinPath(BaseDir(), "non_existent_file.txt"); in SetUp() 32 actual_file_ = io::JoinPath(BaseDir(), "test_file.txt"); in SetUp() 35 text_graph_def_file_ = io::JoinPath(BaseDir(), "text_graph_def_file.txt"); in SetUp() 37 io::JoinPath(BaseDir(), "binary_graph_def_file.txt"); in SetUp() 39 io::JoinPath(BaseDir(), "text_meta_graph_def_file.txt"); in SetUp() 41 io::JoinPath(BaseDir(), "binary_meta_graph_def_file.txt"); in SetUp()
|
/external/tensorflow/tensorflow/lite/toco/ |
D | toco_port_test.cc | 50 TEST(TocoPortTest, JoinPath) { in TEST() argument 51 EXPECT_EQ("part1/part2", file::JoinPath("part1", "part2")); in TEST() 52 EXPECT_EQ("part1/part2", file::JoinPath("part1/", "part2")); in TEST() 53 EXPECT_EQ("part1/part2", file::JoinPath("part1", "/part2")); in TEST() 54 EXPECT_EQ("part1/part2", file::JoinPath("part1/", "/part2")); in TEST()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | spectrogram_test.cc | 210 tensorflow::io::JoinPath(testing::TensorFlowSrcRoot(), kInputFilename), in TEST() 237 tensorflow::io::JoinPath(testing::TensorFlowSrcRoot(), kInputFilename), in TEST() 242 tensorflow::io::JoinPath(testing::TensorFlowSrcRoot(), kExpectedFilename), in TEST() 257 tensorflow::io::JoinPath(testing::TensorFlowSrcRoot(), kInputFilename), in TEST() 264 tensorflow::io::JoinPath(testing::TensorFlowSrcRoot(), kExpectedFilename), in TEST() 279 tensorflow::io::JoinPath(testing::TensorFlowSrcRoot(), kInputFilename), in TEST() 284 tensorflow::io::JoinPath(testing::TensorFlowSrcRoot(), kExpectedFilename), in TEST() 299 tensorflow::io::JoinPath(testing::TensorFlowSrcRoot(), kInputFilename), in TEST() 306 tensorflow::io::JoinPath(testing::TensorFlowSrcRoot(), kExpectedFilename), in TEST() 325 tensorflow::io::JoinPath(testing::TensorFlowSrcRoot(), kInputFilename), in TEST() [all …]
|
D | merge_v2_checkpoints_op_test.cc | 67 io::JoinPath(testing::TmpDir(), "worker0/ckpt0"), in RunMergeTest() 68 io::JoinPath(testing::TmpDir(), "worker1/ckpt1"), in RunMergeTest() 69 io::JoinPath(testing::TmpDir(), "merged/ckpt") /* merged prefix */}; in RunMergeTest()
|
/external/tensorflow/tensorflow/core/util/ |
D | dump_graph_test.cc | 34 EXPECT_EQ(ret, io::JoinPath(testing::TmpDir(), "graph.pbtxt")); in TEST() 36 EXPECT_EQ(ret, io::JoinPath(testing::TmpDir(), "graph_1.pbtxt")); in TEST() 40 Env::Default(), io::JoinPath(testing::TmpDir(), "graph.pbtxt"), &gdef)); in TEST() 58 EXPECT_EQ(ret, io::JoinPath(testing::TmpDir(), "function.pbtxt")); in TEST()
|
/external/tensorflow/tensorflow/core/profiler/rpc/client/ |
D | dump_tpu_profile.cc | 43 using ::tensorflow::io::JoinPath; 74 JoinPath(run_dir, StrCat(host_prefix, kProtoTraceFileName)); in DumpTraceToLogDirectory() 79 string json_path = JoinPath(run_dir, StrCat(host_prefix, kJsonTraceFileName)); in DumpTraceToLogDirectory() 98 string path = JoinPath(run_dir, StrCat(host_prefix, kJsonOpProfileFileName)); in DumpOpProfileToLogDirectory() 123 string path = JoinPath(run_dir, StrCat(host_prefix, tool.name())); in DumpToolDataToLogDirectory() 140 string profile_run_dir = JoinPath(logdir, kProfilePluginDirectory, run); in WriteTensorboardTPUProfile()
|
/external/tensorflow/tensorflow/contrib/session_bundle/ |
D | session_bundle.cc | 68 io::JoinPath(export_dir, kMetaGraphDefFilename); in GetMetaGraphDefFromExport() 88 io::JoinPath(export_dir, kAssetsDirectory, asset.filename())); in AddAssetsTensorsToInputs() 116 ->FileExists(io::JoinPath(export_dir, kVariablesFilename)) in GetVariablesFilename() 123 ->FileExists(io::JoinPath(export_dir, kVariablesIndexFilename)) in GetVariablesFilename() 125 return io::JoinPath(export_dir, kVariablesFilename); in GetVariablesFilename() 127 return io::JoinPath(export_dir, kVariablesFilenamePattern); in GetVariablesFilename() 268 io::JoinPath(directory, kMetaGraphDefFilename); in IsPossibleExportDirectory()
|
D | session_bundle_test.cc | 62 const string source = io::JoinPath(orig_path, kVariablesFilename); in CopyExport() 63 const string sink = io::JoinPath(export_path, variables_filename); in CopyExport() 70 const string source = io::JoinPath(orig_path, kMetaGraphDefFilename); in CopyExport() 71 const string sink = io::JoinPath(export_path, meta_graph_def_filename); in CopyExport() 141 const string asset_path = io::JoinPath(export_path, kAssetsDirectory); in CheckSessionBundle() 150 test::AsTensor<string>({io::JoinPath(asset_path, "hello1.txt")}, in CheckSessionBundle() 154 test::AsTensor<string>({io::JoinPath(asset_path, "hello2.txt")}, in CheckSessionBundle() 286 const string export_path = io::JoinPath( in SetupExport() 412 IsPossibleExportDirectory(io::JoinPath(export_path, kAssetsDirectory))); in TEST_F()
|
D | test_util.cc | 28 const string contrib_path = tensorflow::io::JoinPath( in TestSrcDirPath() 30 return tensorflow::io::JoinPath(contrib_path, relative_path); in TestSrcDirPath()
|
/external/tensorflow/tensorflow/core/platform/s3/ |
D | s3_file_system_test.cc | 35 return io::JoinPath(string(test_dir), path); in TmpDir() 37 return "s3://" + io::JoinPath(testing::TmpDir(), path); in TmpDir() 144 const string file = io::JoinPath(base, "TestFile.csv"); in TEST_F() 147 const string subdir = io::JoinPath(base, "SubDir"); in TEST_F() 151 const string subfile = io::JoinPath(subdir, "TestSubFile.csv"); in TEST_F() 180 const string file = io::JoinPath(dir, "CreateDirFile.csv"); in TEST_F() 191 const string file = io::JoinPath(dir, "DeleteDirFile.csv"); in TEST_F()
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | file_utils_test.cc | 45 io::JoinPath(testing::TmpDir(), "text_graph.pbtxt"); in TestLoadTextOrBinaryGraphFile() 49 io::JoinPath(testing::TmpDir(), "binary_graph.pb"); in TestLoadTextOrBinaryGraphFile() 52 const string bogus_file = io::JoinPath(testing::TmpDir(), "bogus_graph.pb"); in TestLoadTextOrBinaryGraphFile()
|
/external/tensorflow/tensorflow/contrib/util/ |
D | convert_graphdef_memmapped_format_test.cc | 40 const string filename_pb = io::JoinPath(dir, "graphdef.pb"); in TEST() 65 const string filename_mmap = io::JoinPath(dir, "graphdef.mmap"); in TEST() 95 const string filename_pb = io::JoinPath(dir, "string_graphdef.pb"); in TEST() 116 const string filename_mmap = io::JoinPath(dir, "string_graphdef.mmap"); in TEST()
|
/external/tensorflow/tensorflow/cc/framework/ |
D | cc_op_gen_test.cc | 91 const auto h_file_path = io::JoinPath(tmpdir, "test.h"); in GenerateCcOpFiles() 92 const auto cc_file_path = io::JoinPath(tmpdir, "test.cc"); in GenerateCcOpFiles() 93 const auto internal_h_file_path = io::JoinPath(tmpdir, "test_internal.h"); in GenerateCcOpFiles() 94 const auto internal_cc_file_path = io::JoinPath(tmpdir, "test_internal.cc"); in GenerateCcOpFiles()
|
/external/tensorflow/tensorflow/core/platform/cloud/ |
D | oauth_client_test.cc | 94 io::JoinPath(io::JoinPath(testing::TensorFlowSrcRoot(), kTestData), in TEST() 137 io::JoinPath(io::JoinPath(testing::TensorFlowSrcRoot(), kTestData), in TEST()
|
/external/tensorflow/tensorflow/examples/wav_to_spectrogram/ |
D | wav_to_spectrogram_test.cc | 26 tensorflow::io::JoinPath(tensorflow::testing::TmpDir(), "input_wav.wav"); in TEST() 27 const tensorflow::string output_image = tensorflow::io::JoinPath( in TEST()
|