- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for close (0.16 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h
TF_Status* status); int64_t Tell(const TF_WritableFile* file, TF_Status* status); void Flush(const TF_WritableFile* file, TF_Status* status); void Sync(const TF_WritableFile* file, TF_Status* status); void Close(const TF_WritableFile* file, TF_Status* status); } // namespace tf_writable_file namespace tf_read_only_memory_region { void Cleanup(TF_ReadOnlyMemoryRegion* region); const void* Data(const TF_ReadOnlyMemoryRegion* region);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Aug 31 04:37:41 GMT 2020 - 5.2K bytes - Viewed (0) -
tensorflow/c/c_api.h
const TF_SessionOptions* session_options, const TF_Buffer* run_options, const char* export_dir, const char* const* tags, int tags_len, TF_Graph* graph, TF_Buffer* meta_graph_def, TF_Status* status); // Close a session. // // Contacts any other processes associated with the session, if applicable. // May not be called after TF_DeleteSession(). TF_CAPI_EXPORT extern void TF_CloseSession(TF_Session*, TF_Status* status);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Viewed (3) -
tensorflow/c/env.h
TF_CAPI_EXPORT extern void TF_NewWritableFile(const char* filename, TF_WritableFileHandle** handle, TF_Status* status); // Closes the given handle and frees its memory. If there was a problem closing // the file, it is indicated by status. Memory is freed in any case. TF_CAPI_EXPORT extern void TF_CloseWritableFile(TF_WritableFileHandle* handle,
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/experimental/filesystem/plugins/gcs/cleanup.h
// // Example: // void func() { // FILE* fp = fopen("data.txt", "r"); // if (fp == nullptr) return; // auto fp_cleaner = gtl::MakeCleanup([fp] { fclose(fp); }); // // No matter what, fclose(fp) will happen. // DataObject d; // while (ReadDataObject(fp, &d)) { // if (d.IsBad()) { // LOG(ERROR) << "Bad Data"; // return; // }
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 11:16:00 GMT 2020 - 3.4K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem.h
: filename_(filename), file_(std::move(file)), ops_(ops) {} ~ModularWritableFile() override { ops_->cleanup(file_.get()); } Status Append(StringPiece data) override; Status Close() override; Status Flush() override; Status Sync() override; Status Name(StringPiece* result) const override; Status Tell(int64_t* position) override; private: std::string filename_;
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 12 08:49:52 GMT 2023 - 8.9K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/filesystem_interface.h
/// DEFAULT IMPLEMENTATION: No op. void (*sync)(const TF_WritableFile* file, TF_Status* status); /// Closes `*file`. /// /// Flushes all buffers and deallocates all resources. /// /// Calling `close` must not result in calling `cleanup`. /// /// Core TensorFlow will never call `close` twice. void (*close)(const TF_WritableFile* file, TF_Status* status); } TF_WritableFileOps;
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 17:36:54 GMT 2022 - 53.1K bytes - Viewed (0)