Home
last modified time | relevance | path

Searched refs:python_utils (Results 1 – 25 of 44) sorted by relevance

12

/external/tensorflow/tensorflow/lite/python/optimize/
Dcalibration_wrapper.cc50 using python_utils::PyDecrefDeleter;
113 if (python_utils::ConvertFromPyString(data, &buf, &length) == -1) { in AddIntermediateTensors()
132 return python_utils::ConvertToPyString( in AddIntermediateTensors()
138 return python_utils::ConvertToPyString(buf, length); in AddIntermediateTensors()
250 if (python_utils::TfLiteTypeFromPyArray(array) != tensor->type) { in SetTensor()
255 TfLiteTypeGetName(python_utils::TfLiteTypeFromPyArray(array)), in SetTensor()
321 return python_utils::ConvertToPyString( in Calibrate()
331 return python_utils::ConvertToPyString(model_str_->data(), in QuantizeModel()
335 TfLiteType input_type = python_utils::TfLiteTypeFromPyType(input_py_type); in QuantizeModel()
336 TfLiteType output_type = python_utils::TfLiteTypeFromPyType(output_py_type); in QuantizeModel()
[all …]
DBUILD18 "//tensorflow/lite/python/interpreter_wrapper:python_utils",
/external/tensorflow/tensorflow/lite/python/interpreter_wrapper/
DBUILD34 ":python_utils",
60 name = "python_utils",
61 srcs = ["python_utils.cc"],
62 hdrs = ["python_utils.h"],
Dinterpreter_wrapper.cc67 using python_utils::PyDecrefDeleter;
322 int code = python_utils::TfLiteTypeToPyArrayType(tensor->type); in TensorType()
432 if (python_utils::TfLiteTypeFromPyArray(array) != tensor->type) { in SetTensor()
437 TfLiteTypeGetName(python_utils::TfLiteTypeFromPyArray(array)), in SetTensor()
481 if (!python_utils::FillStringBufferWithPyArray(value, &dynamic_buffer)) { in SetTensor()
550 *type_num = python_utils::TfLiteTypeToPyArrayType((*tensor)->type); in CheckGetTensorArgs()
730 if (python_utils::ConvertFromPyString(data, &buf, &length) == -1) { in CreateWrapperCPPFromBuffer()
Dpython_utils.h25 namespace python_utils {
Dnumpy.h63 namespace python_utils {
Dpython_utils.cc21 namespace python_utils { namespace
/external/tensorflow/tensorflow/lite/toco/python/
Dtoco_python_api.cc102 if (::tflite::python_utils::ConvertFromPyString(obj, &buf, &len) == -1) { in TocoConvert()
215 ::tflite::python_utils::ConvertToPyString( in TocoConvert()
222 return ::tflite::python_utils::ConvertToPyString( in TocoConvert()
246 if (tflite::python_utils::ConvertFromPyString(data, &buf, &length) == -1) { in MlirQuantizeModel()
286 return tflite::python_utils::ConvertToPyString( in MlirQuantizeModel()
297 if (tflite::python_utils::ConvertFromPyString(data, &buf, &length) == -1) { in MlirSparsifyModel()
319 return tflite::python_utils::ConvertToPyString( in MlirSparsifyModel()
335 if (tflite::python_utils::ConvertFromPyString(PyList_GetItem(list, i), in RegisterCustomOpdefs()
/external/tensorflow/tensorflow/lite/testing/
Dstring_util.cc31 if (!python_utils::FillStringBufferWithPyArray(value, &dynamic_buffer)) { in SerializeAsHexString()
40 return python_utils::ConvertToPyString(s.data(), s.size()); in SerializeAsHexString()
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/
Dtask_runner.py26 import python_utils.jobset as jobset
27 import python_utils.report_utils as report_utils
Dstart_port_server.py26 import python_utils.start_port_server as start_port_server
Drun_microbenchmark.py23 import python_utils.jobset as jobset
24 import python_utils.start_port_server as start_port_server
Drun_tests_matrix.py24 import python_utils.jobset as jobset
25 import python_utils.report_utils as report_utils
26 from python_utils.filter_pull_request_tests import filter_tests
Drun_grpclb_interop_tests.py34 import python_utils.dockerjob as dockerjob
35 import python_utils.jobset as jobset
36 import python_utils.report_utils as report_utils
/external/grpc-grpc/tools/run_tests/
Dtask_runner.py26 import python_utils.jobset as jobset
27 import python_utils.report_utils as report_utils
Dstart_port_server.py26 import python_utils.start_port_server as start_port_server
Drun_microbenchmark.py23 import python_utils.jobset as jobset
24 import python_utils.start_port_server as start_port_server
Drun_tests_matrix.py24 import python_utils.jobset as jobset
25 import python_utils.report_utils as report_utils
26 from python_utils.filter_pull_request_tests import filter_tests
/external/rust/crates/grpcio-sys/grpc/tools/internal_ci/linux/
Dgrpc_bazel_on_foundry_base.sh44 python ./tools/run_tests/python_utils/upload_rbe_results.py
/external/rust/crates/grpcio-sys/grpc/tools/internal_ci/macos/
Dgrpc_run_bazel_c_cpp_tests.sh51 PYTHONHTTPSVERIFY=0 python ./tools/run_tests/python_utils/upload_rbe_results.py
/external/grpc-grpc/tools/internal_ci/linux/
Dgrpc_bazel_on_foundry_base.sh70 python ./tools/run_tests/python_utils/upload_rbe_results.py
Dgrpc_ubsan_on_foundry.sh73 python ./tools/run_tests/python_utils/upload_rbe_results.py
Dgrpc_msan_on_foundry.sh76 python ./tools/run_tests/python_utils/upload_rbe_results.py
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/artifacts/
Dpackage_targets.py21 import python_utils.jobset as jobset
/external/grpc-grpc/tools/run_tests/artifacts/
Dpackage_targets.py21 import python_utils.jobset as jobset

12