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

Function TF_Run_wrapper

tensorflow/python/client/tf_session_helper.cc:164–171  ·  view source on GitHub ↗

Wrapper for TF_Run that converts the arguments to appropriate types. If *out_status is OK, the caller becomes the owner of the PyObjects in *out_values.

Source from the content-addressed store, hash-verified

162// If *out_status is OK, the caller becomes the owner of the PyObjects
163// in *out_values.
164void TF_Run_wrapper(TF_DeprecatedSession* session, const TF_Buffer* run_options,
165 PyObject* feed_dict, const NameVector& output_names,
166 const NameVector& target_nodes, TF_Status* out_status,
167 PyObjectVector* out_values, TF_Buffer* run_outputs) {
168 TF_Run_wrapper_helper(session, nullptr, run_options, feed_dict, output_names,
169 target_nodes, out_status, out_values, run_outputs);
170 ClearDecrefCache();
171}
172
173namespace {
174void MakeCallableHelper(tensorflow::Session* session,

Callers

nothing calls this directly

Calls 2

TF_Run_wrapper_helperFunction · 0.85
ClearDecrefCacheFunction · 0.85

Tested by

no test coverage detected