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

Function TF_SessionRun_wrapper

tensorflow/python/client/tf_session_helper.cc:439–452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

437}
438
439void 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
454string EqualGraphDefWrapper(const string& actual, const string& expected) {
455 GraphDef actual_def;

Callers

nothing calls this directly

Calls 2

ClearDecrefCacheFunction · 0.85

Tested by

no test coverage detected