| 26 | }; |
| 27 | |
| 28 | void TF_CreateDir(const char* dirname, TF_Status* status) { |
| 29 | TF_SetStatus(status, TF_OK, ""); |
| 30 | ::tensorflow::Set_TF_Status_from_Status( |
| 31 | status, ::tensorflow::Env::Default()->CreateDir(dirname)); |
| 32 | } |
| 33 | |
| 34 | void TF_DeleteDir(const char* dirname, TF_Status* status) { |
| 35 | TF_SetStatus(status, TF_OK, ""); |