Home
last modified time | relevance | path

Searched refs:py_result (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/lite/experimental/micro/examples/micro_speech/apollo3/
Dcompare_1k.py74 py_result = np.empty((2 * py_dft.size), dtype=np.float) variable
75 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')
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tfe_src.cc1106 PyObject* py_result = (*backward_function)(grads); in CallBackwardFunction() local
1108 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()); local
1772 PyList_SET_ITEM(py_result, i, reinterpret_cast<PyObject*>(result[i]));
1774 return py_result;