Home
last modified time | relevance | path

Searched refs:ConvertFromPyString (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/lite/toco/python/
Dtoco_python_api.cc102 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/
Dpython_utils.h31 int ConvertFromPyString(PyObject* obj, char** data, Py_ssize_t* length);
Dpython_utils.cc23 int ConvertFromPyString(PyObject* obj, char** data, Py_ssize_t* length) { in ConvertFromPyString() function
Dinterpreter_wrapper.cc730 if (python_utils::ConvertFromPyString(data, &buf, &length) == -1) { in CreateWrapperCPPFromBuffer()
/external/tensorflow/tensorflow/lite/python/optimize/
Dcalibration_wrapper.cc113 if (python_utils::ConvertFromPyString(data, &buf, &length) == -1) { in AddIntermediateTensors()
403 if (python_utils::ConvertFromPyString(data, &buf, &length) == -1) { in CreateWrapperCPPFromBuffer()