/aosp_15_r20/external/tensorflow/tensorflow/lite/python/optimize/ |
H A D | calibration_wrapper.cc | 56 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 D | toco_python_api.cc | 107 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/ |
D | grpc_python_bazel_test_in_docker.sh | 22 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…
|
D | grpc_binder_transport_apk_build_in_docker.sh | 26 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 D | grpc_python_bazel_test_in_docker.sh | 22 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 D | grpc_binder_transport_apk_build_in_docker.sh | 24 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 D | BUILD | 34 ":python_utils", 62 name = "python_utils", 63 srcs = ["python_utils.cc"], 64 hdrs = ["python_utils.h"],
|
H A D | interpreter_wrapper.cc | 90 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 D | grpc_objc_bazel_test.sh | 77 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 D | string_util.cc | 31 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/ |
D | grpc_objc_bazel_test.sh | 75 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/ |
D | run_microbenchmark.py | 23 import python_utils.jobset as jobset 24 import python_utils.start_port_server as start_port_server
|
D | task_runner.py | 26 import python_utils.jobset as jobset 27 import python_utils.report_utils as report_utils
|
D | run_tests_matrix.py | 24 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
|
D | run_grpclb_interop_tests.py | 35 import python_utils.dockerjob as dockerjob 36 import python_utils.jobset as jobset 37 import python_utils.report_utils as report_utils
|
D | run_tests.py | 44 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
|
D | run_interop_tests.py | 35 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 D | run_microbenchmark.py | 23 import python_utils.jobset as jobset 24 import python_utils.start_port_server as start_port_server
|
H A D | task_runner.py | 26 import python_utils.jobset as jobset 27 import python_utils.report_utils as report_utils
|
H A D | run_tests_matrix.py | 24 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 D | run_grpclb_interop_tests.py | 35 import python_utils.dockerjob as dockerjob 36 import python_utils.jobset as jobset 37 import python_utils.report_utils as report_utils
|
H A D | run_tests.py | 44 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 D | run_interop_tests.py | 35 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 D | start_port_server.py | 25 import python_utils.start_port_server as start_port_server
|
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/python/ |
H A D | BUILD | 202 name = "python_utils", 203 hdrs = ["python_utils.h"], 292 ":python_utils", 369 ":python_utils", 456 ":python_utils",
|