Searched refs:ConvertFromPyString (Results 1 – 5 of 5) sorted by relevance
/external/tensorflow/tensorflow/lite/toco/python/ |
D | toco_python_api.cc | 102 if (::tflite::python_utils::ConvertFromPyString(obj, &buf, &len) == -1) { in TocoConvert() 246 if (tflite::python_utils::ConvertFromPyString(data, &buf, &length) == -1) { in MlirQuantizeModel() 297 if (tflite::python_utils::ConvertFromPyString(data, &buf, &length) == -1) { in MlirSparsifyModel() 335 if (tflite::python_utils::ConvertFromPyString(PyList_GetItem(list, i), in RegisterCustomOpdefs()
|
/external/tensorflow/tensorflow/lite/python/interpreter_wrapper/ |
D | python_utils.h | 31 int ConvertFromPyString(PyObject* obj, char** data, Py_ssize_t* length);
|
D | python_utils.cc | 23 int ConvertFromPyString(PyObject* obj, char** data, Py_ssize_t* length) { in ConvertFromPyString() function
|
D | interpreter_wrapper.cc | 730 if (python_utils::ConvertFromPyString(data, &buf, &length) == -1) { in CreateWrapperCPPFromBuffer()
|
/external/tensorflow/tensorflow/lite/python/optimize/ |
D | calibration_wrapper.cc | 113 if (python_utils::ConvertFromPyString(data, &buf, &length) == -1) { in AddIntermediateTensors() 403 if (python_utils::ConvertFromPyString(data, &buf, &length) == -1) { in CreateWrapperCPPFromBuffer()
|