| 89 | } |
| 90 | |
| 91 | void 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 | |
| 97 | void TF_AppendWritableFile(TF_WritableFileHandle* handle, const char* data, |
| 98 | size_t length, TF_Status* status) { |
nothing calls this directly
no test coverage detected