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

Function TF_CloseWritableFile

tensorflow/c/env.cc:78–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78void TF_CloseWritableFile(TF_WritableFileHandle* handle, TF_Status* status) {
79 auto* cc_file = reinterpret_cast<::tensorflow::WritableFile*>(handle);
80 TF_SetStatus(status, TF_OK, "");
81 ::tensorflow::Set_TF_Status_from_Status(status, cc_file->Close());
82 delete cc_file;
83}
84
85void TF_SyncWritableFile(TF_WritableFileHandle* handle, TF_Status* status) {
86 auto* cc_file = reinterpret_cast<::tensorflow::WritableFile*>(handle);

Callers 2

mainFunction · 0.85
TESTFunction · 0.85

Calls 3

TF_SetStatusFunction · 0.85
CloseMethod · 0.45

Tested by 2

mainFunction · 0.68
TESTFunction · 0.68