Wrapper for TF_Reset that converts the string vectors to character arrays.
| 343 | |
| 344 | // Wrapper for TF_Reset that converts the string vectors to character arrays. |
| 345 | void TF_Reset_wrapper(const TF_SessionOptions* opt, |
| 346 | const NameVector& containers, TF_Status* status) { |
| 347 | TF_Reset(opt, const_cast<const char**>(containers.data()), containers.size(), |
| 348 | status); |
| 349 | } |
| 350 | |
| 351 | void TF_SessionRun_wrapper_helper(TF_Session* session, const char* handle, |
| 352 | const TF_Buffer* run_options, |