- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for file_path (0.15 sec)
-
tensorflow/c/env_test.cc
<< TF_Message(s); ::tensorflow::string filepath = ::tensorflow::io::JoinPath(dirpath, "somefile.txt"); TF_WritableFileHandle* handle; TF_NewWritableFile(filepath.c_str(), &handle, s); ASSERT_TF_OK(s) << "NewWritableFile failed for " << filepath << ": " << TF_Message(s); const char* data = "Hello, world!\n";
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Dec 10 20:52:48 GMT 2018 - 4.2K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc
ASSERT_TF_OK(status_) << "Could not initialize filesystem. " << TF_Message(status_); std::string filepath = GetURIForPath("a_file"); TF_RandomAccessFile* file = new TF_RandomAccessFile; tf_gcs_filesystem::NewRandomAccessFile(filesystem_, filepath.c_str(), file, status_); ASSERT_TF_OK(status_); char* result = new char[content_view.length()];
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Aug 31 12:04:23 GMT 2020 - 24.9K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
TEST_P(ModularFileSystemTest, TestRenameFile) { const std::string filepath = GetURIForPath("a_file"); std::unique_ptr<WritableFile> new_file; Status status = env_->NewWritableFile(filepath, &new_file); if (!status.ok()) GTEST_SKIP() << "NewWritableFile() not supported: " << status; const std::string new_filepath = GetURIForPath("a_new_file"); status = env_->RenameFile(filepath, new_filepath);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 20:25:58 GMT 2022 - 71K bytes - Viewed (0)