| 437 | } |
| 438 | |
| 439 | void TF_SessionRun_wrapper(TF_Session* session, const TF_Buffer* run_options, |
| 440 | const std::vector<TF_Output>& inputs, |
| 441 | const std::vector<PyObject*>& input_ndarrays, |
| 442 | const std::vector<TF_Output>& outputs, |
| 443 | const std::vector<TF_Operation*>& targets, |
| 444 | TF_Buffer* run_metadata, TF_Status* out_status, |
| 445 | std::vector<PyObject*>* py_outputs) { |
| 446 | TF_SessionRun_wrapper_helper(session, nullptr, run_options, inputs, |
| 447 | input_ndarrays, outputs, targets, run_metadata, |
| 448 | out_status, py_outputs); |
| 449 | // Release any unused ndarray references (see memory management comment in |
| 450 | // TF_SessionRun_wrapper_helper) |
| 451 | ClearDecrefCache(); |
| 452 | } |
| 453 | |
| 454 | string EqualGraphDefWrapper(const string& actual, const string& expected) { |
| 455 | GraphDef actual_def; |
nothing calls this directly
no test coverage detected