MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / TF_SyncWritableFile

Function TF_SyncWritableFile

tensorflow/c/env.cc:85–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85void TF_SyncWritableFile(TF_WritableFileHandle* handle, TF_Status* status) {
86 auto* cc_file = reinterpret_cast<::tensorflow::WritableFile*>(handle);
87 TF_SetStatus(status, TF_OK, "");
88 ::tensorflow::Set_TF_Status_from_Status(status, cc_file->Sync());
89}
90
91void TF_FlushWritableFile(TF_WritableFileHandle* handle, TF_Status* status) {
92 auto* cc_file = reinterpret_cast<::tensorflow::WritableFile*>(handle);

Callers

nothing calls this directly

Calls 3

TF_SetStatusFunction · 0.85
SyncMethod · 0.45

Tested by

no test coverage detected