Home
last modified time | relevance | path

Searched refs:FilesExist (Results 1 – 11 of 11) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/inputs/
Dutils.cc25 bool FilesExist(const std::vector<string>& files, std::vector<Status>* status) { in FilesExist() function
26 return Env::Default()->FilesExist(files, status); in FilesExist()
29 bool FilesExist(const std::set<string>& files) { in FilesExist() function
30 return FilesExist(std::vector<string>(files.begin(), files.end()), nullptr); in FilesExist()
Dutils_test.cc72 TEST_F(UtilsTest, FilesExist) { in TEST_F() argument
73 EXPECT_FALSE(FilesExist(std::vector<string>{{non_existent_file_}})); in TEST_F()
75 FilesExist(std::vector<string>{{non_existent_file_}, {actual_file_}})); in TEST_F()
76 EXPECT_TRUE(FilesExist(std::vector<string>{{actual_file_}})); in TEST_F()
79 EXPECT_FALSE(FilesExist( in TEST_F()
Dutils.h30 bool FilesExist(const std::vector<string>& files,
32 bool FilesExist(const std::set<string>& files);
/external/tensorflow/tensorflow/core/platform/
Dfile_system.h162 virtual bool FilesExist(const std::vector<string>& files, in FilesExist() function
164 return FilesExist(files, nullptr, status); in FilesExist()
167 virtual bool FilesExist(const std::vector<string>& files,
613 bool FilesExist(const std::vector<string>& files, TransactionToken* token, in FilesExist() function
615 return fs_->FilesExist(files, (token ? token : token_), status); in FilesExist()
Denv.h204 bool FilesExist(const std::vector<string>& files,
207 bool FilesExist(const std::vector<string>& files, TransactionToken* token, in FilesExist() function
Denv.cc229 bool Env::FilesExist(const std::vector<string>& files, in FilesExist() function in tensorflow::Env
253 fs_result = file_system->FilesExist(itr.second, fs_status); in FilesExist()
Dfile_system.cc92 bool FileSystem::FilesExist(const std::vector<string>& files, in FilesExist() function in tensorflow::FileSystem
/external/tensorflow/tensorflow/core/grappler/
Dgrappler_item_builder.cc495 if (!FilesExist({asset_filepath}, nullptr)) { in GrapplerItemFromMetaGraphDef()
516 if (!FilesExist(paths, nullptr)) { in GrapplerItemFromMetaGraphDef()
/external/tensorflow/tensorflow/c/experimental/filesystem/
Dmodular_filesystem.h75 bool FilesExist(const std::vector<std::string>& files,
Dmodular_filesystem.cc132 bool ModularFileSystem::FilesExist(const std::vector<std::string>& files, in FilesExist() function in tensorflow::ModularFileSystem
136 return FileSystem::FilesExist(files, token, status); in FilesExist()
Dmodular_filesystem_test.cc1124 EXPECT_TRUE(env_->FilesExist(filenames, /*status=*/nullptr)); in TEST_P()
1127 EXPECT_TRUE(env_->FilesExist(filenames, &statuses)); in TEST_P()
1151 EXPECT_FALSE(env_->FilesExist(filenames, &statuses)); in TEST_P()
1162 EXPECT_TRUE(env_->FilesExist(filenames, /*status=*/nullptr)); in TEST_P()
1165 EXPECT_TRUE(env_->FilesExist(filenames, &statuses)); in TEST_P()