Searched refs:py_result (Results 1 – 2 of 2) sorted by relevance
74 py_result = np.empty((2 * py_dft.size), dtype=np.float) variable75 py_result[0::2] = np.real(py_dft)76 py_result[1::2] = np.imag(py_dft)109 plt.plot(py_result, label='Python result')
1106 PyObject* py_result = (*backward_function)(grads); in CallBackwardFunction() local1108 if (py_result == nullptr) { in CallBackwardFunction()1113 PySequence_Fast(py_result, "expected a sequence of gradients"); in CallBackwardFunction()1131 Py_DECREF(py_result); in CallBackwardFunction()1754 PyObject* py_result = PyList_New(result.size()); local1772 PyList_SET_ITEM(py_result, i, reinterpret_cast<PyObject*>(result[i]));1774 return py_result;