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

Function GetPyTrampoline

tensorflow/python/lib/core/py_func.cc:47–50  ·  view source on GitHub ↗

Returns the py_trampoline that is used to pass the control to the python runtime.

Source from the content-addressed store, hash-verified

45// Returns the py_trampoline that is used to pass the control to the
46// python runtime.
47PyObject* GetPyTrampoline() {
48 mutex_lock l(mu);
49 return py_trampoline;
50}
51
52// A call to the registered python function.
53struct PyCall {

Callers 1

DoCallPyFuncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected