Searched refs:py_result (Results 1 – 1 of 1) sorted by relevance
1384 PyObject* py_result = (*backward_function)(grads, unneeded_gradients); in CallBackwardFunction() local1386 if (py_result == nullptr) { in CallBackwardFunction()1390 PySequence_Fast(py_result, "expected a sequence of gradients"); in CallBackwardFunction()1414 Py_DECREF(py_result); in CallBackwardFunction()2537 tensorflow::Safe_PyObjectPtr py_result( local2539 if (py_result == nullptr || PyErr_Occurred()) {2543 return ParseTangentOutputs(py_result.get(), output_tangents);2555 tensorflow::Safe_PyObjectPtr py_result(PyObject_CallObject( local2557 if (py_result == nullptr || PyErr_Occurred()) {2561 return ParseTangentOutputs(py_result.get(), output_tangents);[all …]