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

Function TF_PRun_wrapper

tensorflow/python/client/tf_session_helper.cc:336–342  ·  view source on GitHub ↗

Wrapper for TF_PRun 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

334// If *out_status is OK, the caller becomes the owner of the PyObjects
335// in *out_values.
336void TF_PRun_wrapper(TF_DeprecatedSession* session, const char* handle,
337 PyObject* feed_dict, const NameVector& output_names,
338 TF_Status* out_status, PyObjectVector* out_values) {
339 TF_Run_wrapper_helper(session, handle, nullptr, feed_dict, output_names,
340 NameVector(), out_status, out_values, nullptr);
341 ClearDecrefCache();
342}
343
344// Wrapper for TF_Reset that converts the string vectors to character arrays.
345void TF_Reset_wrapper(const TF_SessionOptions* opt,

Callers

nothing calls this directly

Calls 2

TF_Run_wrapper_helperFunction · 0.85
ClearDecrefCacheFunction · 0.85

Tested by

no test coverage detected