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

Function TF_FlushWritableFile

tensorflow/c/env.cc:91–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91void TF_FlushWritableFile(TF_WritableFileHandle* handle, TF_Status* status) {
92 auto* cc_file = reinterpret_cast<::tensorflow::WritableFile*>(handle);
93 TF_SetStatus(status, TF_OK, "");
94 ::tensorflow::Set_TF_Status_from_Status(status, cc_file->Flush());
95}
96
97void TF_AppendWritableFile(TF_WritableFileHandle* handle, const char* data,
98 size_t length, TF_Status* status) {

Callers

nothing calls this directly

Calls 3

TF_SetStatusFunction · 0.85
FlushMethod · 0.45

Tested by

no test coverage detected