Home
last modified time | relevance | path

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

123

/aosp_15_r20/external/tensorflow/tensorflow/lite/python/optimize/
H A Dcalibration_wrapper.cc56 using python_utils::PyDecrefDeleter;
166 if (python_utils::ConvertFromPyString(data, &buf, &length) == -1) { in AddIntermediateTensors()
185 return python_utils::ConvertToPyString( in AddIntermediateTensors()
191 return python_utils::ConvertToPyString(buf, length); in AddIntermediateTensors()
401 if (python_utils::TfLiteTypeFromPyArray(array) != tensor->type) { in SetTensor()
406 TfLiteTypeGetName(python_utils::TfLiteTypeFromPyArray(array)), in SetTensor()
481 if (python_utils::TfLiteTypeFromPyArray(array) != tensor->type) { in SetTensor()
486 TfLiteTypeGetName(python_utils::TfLiteTypeFromPyArray(array)), in SetTensor()
553 return python_utils::ConvertToPyString( in Calibrate()
572 return python_utils::ConvertToPyString(model_str_->data(), in QuantizeModel()
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/lite/toco/python/
H A Dtoco_python_api.cc107 if (::tflite::python_utils::ConvertFromPyString(obj, &buf, &len) == -1) { in TocoConvert()
231 ::tflite::python_utils::ConvertToPyString( in TocoConvert()
238 return ::tflite::python_utils::ConvertToPyString( in TocoConvert()
260 using tflite::python_utils::ConvertFromPyString; in ToStringSet()
302 if (tflite::python_utils::ConvertFromPyString(data, &buf, &length) == -1) { in MlirQuantizeModel()
346 return tflite::python_utils::ConvertToPyString( in MlirQuantizeModel()
357 if (tflite::python_utils::ConvertFromPyString(data, &buf, &length) == -1) { in MlirSparsifyModel()
379 return tflite::python_utils::ConvertToPyString( in MlirSparsifyModel()
395 if (tflite::python_utils::ConvertFromPyString(PyList_GetItem(list, i), in RegisterCustomOpdefs()
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/tools/internal_ci/linux/
Dgrpc_python_bazel_test_in_docker.sh22 python3 tools/run_tests/python_utils/bazel_report_helper.py --report_path python_bazel_tests
25 python3 tools/run_tests/python_utils/bazel_report_helper.py --report_path python_bazel_tests_single…
28 python3 tools/run_tests/python_utils/bazel_report_helper.py --report_path python_bazel_tests_poller…
31 python3 tools/run_tests/python_utils/bazel_report_helper.py --report_path python_bazel_tests_fork_s…
Dgrpc_binder_transport_apk_build_in_docker.sh26 python3 tools/run_tests/python_utils/bazel_report_helper.py --report_path bazel_binder_example_app
39 python3 tools/run_tests/python_utils/bazel_report_helper.py --report_path bazel_binder_connection_h…
/aosp_15_r20/external/grpc-grpc/tools/internal_ci/linux/
H A Dgrpc_python_bazel_test_in_docker.sh22 python3 tools/run_tests/python_utils/bazel_report_helper.py --report_path python_bazel_tests
25 python3 tools/run_tests/python_utils/bazel_report_helper.py --report_path python_bazel_tests_single…
28 python3 tools/run_tests/python_utils/bazel_report_helper.py --report_path python_bazel_tests_poller…
31 python3 tools/run_tests/python_utils/bazel_report_helper.py --report_path python_bazel_tests_fork_s…
H A Dgrpc_binder_transport_apk_build_in_docker.sh24 python3 tools/run_tests/python_utils/bazel_report_helper.py --report_path bazel_binder_example_app
35 python3 tools/run_tests/python_utils/bazel_report_helper.py --report_path bazel_binder_connection_h…
/aosp_15_r20/external/tensorflow/tensorflow/lite/python/interpreter_wrapper/
H A DBUILD34 ":python_utils",
62 name = "python_utils",
63 srcs = ["python_utils.cc"],
64 hdrs = ["python_utils.h"],
H A Dinterpreter_wrapper.cc90 using python_utils::PyDecrefDeleter;
393 int code = python_utils::TfLiteTypeToPyArrayType(tensor->type); in TensorType()
505 if (python_utils::TfLiteTypeFromPyArray(array) != tensor->type) { in SetTensor()
510 TfLiteTypeGetName(python_utils::TfLiteTypeFromPyArray(array)), in SetTensor()
555 if (!python_utils::FillStringBufferWithPyArray(value, &dynamic_buffer)) { in SetTensor()
627 *type_num = python_utils::TfLiteTypeToPyArrayType((*tensor)->type); in CheckGetTensorArgs()
814 if (python_utils::ConvertFromPyString(data, &buf, &length) == -1) { in CreateWrapperCPPFromBuffer()
/aosp_15_r20/external/grpc-grpc/tools/internal_ci/macos/
H A Dgrpc_objc_bazel_test.sh77 python3 tools/run_tests/python_utils/bazel_report_helper.py --report_path build_interop_server
107 python3 tools/run_tests/python_utils/bazel_report_helper.py --report_path objc_bazel_tests
136 python3 tools/run_tests/python_utils/bazel_report_helper.py --report_path objc_event_engine_bazel_t…
/aosp_15_r20/external/tensorflow/tensorflow/lite/testing/
H A Dstring_util.cc31 if (!python_utils::FillStringBufferWithPyArray(value, &dynamic_buffer)) { in SerializeAsHexString()
40 return python_utils::ConvertToPyString(s.data(), s.size()); in SerializeAsHexString()
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/tools/internal_ci/macos/
Dgrpc_objc_bazel_test.sh75 python3 tools/run_tests/python_utils/bazel_report_helper.py --report_path build_interop_server
105 python3 tools/run_tests/python_utils/bazel_report_helper.py --report_path objc_bazel_tests
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/tools/run_tests/
Drun_microbenchmark.py23 import python_utils.jobset as jobset
24 import python_utils.start_port_server as start_port_server
Dtask_runner.py26 import python_utils.jobset as jobset
27 import python_utils.report_utils as report_utils
Drun_tests_matrix.py24 from python_utils.filter_pull_request_tests import filter_tests
25 import python_utils.jobset as jobset
26 import python_utils.report_utils as report_utils
Drun_grpclb_interop_tests.py35 import python_utils.dockerjob as dockerjob
36 import python_utils.jobset as jobset
37 import python_utils.report_utils as report_utils
Drun_tests.py44 import python_utils.jobset as jobset
45 import python_utils.report_utils as report_utils
46 import python_utils.start_port_server as start_port_server
47 import python_utils.watch_dirs as watch_dirs
50 from python_utils.upload_test_results import upload_results_to_bq
Drun_interop_tests.py35 import python_utils.dockerjob as dockerjob
36 import python_utils.jobset as jobset
37 import python_utils.report_utils as report_utils
41 from python_utils.upload_test_results import upload_interop_results_to_bq
/aosp_15_r20/external/grpc-grpc/tools/run_tests/
H A Drun_microbenchmark.py23 import python_utils.jobset as jobset
24 import python_utils.start_port_server as start_port_server
H A Dtask_runner.py26 import python_utils.jobset as jobset
27 import python_utils.report_utils as report_utils
H A Drun_tests_matrix.py24 from python_utils.filter_pull_request_tests import filter_tests
25 import python_utils.jobset as jobset
26 import python_utils.report_utils as report_utils
H A Drun_grpclb_interop_tests.py35 import python_utils.dockerjob as dockerjob
36 import python_utils.jobset as jobset
37 import python_utils.report_utils as report_utils
H A Drun_tests.py44 import python_utils.jobset as jobset
45 import python_utils.report_utils as report_utils
46 import python_utils.start_port_server as start_port_server
47 import python_utils.watch_dirs as watch_dirs
50 from python_utils.upload_test_results import upload_results_to_bq
H A Drun_interop_tests.py35 import python_utils.dockerjob as dockerjob
36 import python_utils.jobset as jobset
37 import python_utils.report_utils as report_utils
41 from python_utils.upload_test_results import upload_interop_results_to_bq
H A Dstart_port_server.py25 import python_utils.start_port_server as start_port_server
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/python/
H A DBUILD202 name = "python_utils",
203 hdrs = ["python_utils.h"],
292 ":python_utils",
369 ":python_utils",
456 ":python_utils",

123