- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Target (0.15 sec)
-
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
Status status = env_->CreateDir(dirpath); if (!status.ok()) GTEST_SKIP() << "CreateDir() not supported: " << status; const std::string target_path = GetURIForPath("a_dir/another_dir"); EXPECT_EQ(env_->CreateDir(target_path).code(), Code::OK); status = env_->DeleteDir(target_path); EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::OK); } TEST_P(ModularFileSystemTest, TestDeleteDirectoryDoesNotExist) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 20:25:58 GMT 2022 - 71K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
TF_TString* data = static_cast<TF_TString*>(TF_TensorData(t)); for (int i = 0; i < batch_size; ++i) { TF_TString_Init(&data[i]); // The following input string length is large enough to make sure that // copy to tstring in large mode. std::string source = "This is the " + std::to_string(i + 1) + "th. data element\n"; TF_TString_Copy(&data[i], source.c_str(), source.length()); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3)