- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TF_GetChildren (0.19 sec)
-
tensorflow/c/env_test.cc
ASSERT_TF_OK(s) << "TF_CloseWritableFile failed to close handle to " << filepath << ": " << TF_Message(s); TF_StringStream* children = TF_GetChildren(dirpath.c_str(), s); ASSERT_TF_OK(s) << "TF_GetChildren failed for " << dirpath; const char* childpath; ASSERT_TRUE(TF_StringStreamNext(children, &childpath)); ASSERT_EQ(::tensorflow::string(childpath), "somefile.txt");
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/env.h
// through the list with TF_StringStreamNext. The caller is responsible for // freeing the list (see TF_StringStreamDone). TF_CAPI_EXPORT extern TF_StringStream* TF_GetChildren(const char* filename, TF_Status* status); // Retrieves a list of directory names on the local machine that may be used for
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sat Jan 09 02:53:27 GMT 2021 - 9.6K bytes - Viewed (0) -
tensorflow/c/env.cc
} *result = list->list->at(list->position++).c_str(); return true; } void TF_StringStreamDone(TF_StringStream* list) { delete list->list; delete list; } TF_StringStream* TF_GetChildren(const char* dirname, TF_Status* status) { auto* children = new std::vector<::tensorflow::string>; TF_SetStatus(status, TF_OK, ""); ::tensorflow::Set_TF_Status_from_Status(
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 11 01:20:50 GMT 2021 - 7K bytes - Viewed (0)