- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for TF_StringStreamDone (0.2 sec)
-
tensorflow/c/env.h
// Item points are invalidated after a call to TF_StringStreamDone. TF_CAPI_EXPORT extern bool TF_StringStreamNext(TF_StringStream* list, const char** result); // Frees the resources associated with given string list. All pointers returned // by TF_StringStreamNext are invalid after this call. TF_CAPI_EXPORT extern void TF_StringStreamDone(TF_StringStream* list);
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_test.cc
ASSERT_EQ(::tensorflow::string(childpath), "somefile.txt"); // There should only be one file in this directory. ASSERT_FALSE(TF_StringStreamNext(children, &childpath)); ASSERT_EQ(childpath, nullptr); TF_StringStreamDone(children); TF_FileStatistics stats; TF_FileStat(filepath.c_str(), &stats, s); ASSERT_EQ(stats.length, strlen(data)); ASSERT_FALSE(stats.is_directory); ASSERT_GT(stats.mtime_nsec, 0);
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/c_test.c
free(full_path); TF_CloseWritableFile(h, status); if (TF_GetCode(status) != TF_OK) { fprintf(stderr, "TF_CloseWritableFile failed: %s\n", TF_Message(status)); } TF_StringStreamDone(s); TF_KernelBuilder* b = TF_NewKernelBuilder("SomeOp", "SomeDevice", &create, &compute, NULL); TF_RegisterKernelBuilder("someKernel", b, status); TF_DeleteStatus(status); return 0;
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Apr 24 20:50:35 GMT 2024 - 2.8K bytes - Viewed (0) -
tensorflow/c/env.cc
if (list->position >= list->list->size()) { *result = nullptr; return false; } *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>;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 11 01:20:50 GMT 2021 - 7K bytes - Viewed (0)