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

Function TF_SessionPRun_wrapper

tensorflow/python/client/tf_session_helper.cc:529–544  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

527}
528
529void TF_SessionPRun_wrapper(TF_Session* session, const char* handle,
530 const std::vector<TF_Output>& inputs,
531 const std::vector<PyObject*>& input_ndarrays,
532 const std::vector<TF_Output>& outputs,
533 TF_Status* out_status,
534 std::vector<PyObject*>* py_outputs) {
535 const std::vector<TF_Operation*> targets;
536 TF_SessionRun_wrapper_helper(session, handle,
537 nullptr, // run_options
538 inputs, input_ndarrays, outputs, targets,
539 nullptr, // run_metadata
540 out_status, py_outputs);
541 // Release any unused ndarray references (see memory management comment in
542 // TF_SessionRun_wrapper_helper)
543 ClearDecrefCache();
544}
545
546std::vector<TF_Output> GetOperationInputs(TF_Operation* oper) {
547 int num_inputs = TF_OperationNumInputs(oper);

Callers

nothing calls this directly

Calls 2

ClearDecrefCacheFunction · 0.85

Tested by

no test coverage detected