Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/python/interpreter_wrapper/
DBUILD26 ":python_utils",
47 name = "python_utils",
48 srcs = ["python_utils.cc"],
49 hdrs = ["python_utils.h"],
Dinterpreter_wrapper.cc53 using python_utils::PyDecrefDeleter;
205 int code = python_utils::TfLiteTypeToPyArrayType(tensor->type); in TensorType()
250 if (python_utils::TfLiteTypeFromPyArray(array) != tensor->type) { in SetTensor()
255 python_utils::TfLiteTypeFromPyArray(array), tensor->type, i); in SetTensor()
290 if (!python_utils::FillStringBufferWithPyArray(value, &dynamic_buffer)) { in SetTensor()
313 *type_num = python_utils::TfLiteTypeToPyArrayType((*tensor)->type); in CheckGetTensorArgs()
423 if (python_utils::ConvertFromPyString(data, &buf, &length) == -1) { in CreateWrapperCPPFromBuffer()
Dpython_utils.h24 namespace python_utils {
Dpython_utils.cc23 namespace python_utils { namespace
/external/tensorflow/tensorflow/lite/python/optimize/
Dcalibration_wrapper.cc48 using python_utils::PyDecrefDeleter;
127 if (python_utils::TfLiteTypeFromPyArray(array) != tensor->type) { in SetTensor()
132 python_utils::TfLiteTypeFromPyArray(array), tensor->type, in SetTensor()
172 return python_utils::ConvertToPyString( in QuantizeModel()
185 if (python_utils::ConvertFromPyString(data, &buf, &length) == -1) { in CreateWrapperCPPFromBuffer()
DBUILD18 "//tensorflow/lite/python/interpreter_wrapper:python_utils",
/external/tensorflow/tensorflow/lite/toco/python/
Dtoco_python_api.cc40 if (::tflite::python_utils::ConvertFromPyString(obj, &buf, &len) == -1) { in TocoConvert()
92 ::tflite::python_utils::ConvertToPyString( in TocoConvert()
99 return ::tflite::python_utils::ConvertToPyString( in TocoConvert()
DBUILD28 "//tensorflow/lite/python/interpreter_wrapper:python_utils",
/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()
DBUILD404 "//tensorflow/lite/python/interpreter_wrapper:python_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
Drun_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
39 from python_utils.upload_test_results import upload_interop_results_to_bq
Drun_tests.py43 import python_utils.jobset as jobset
44 import python_utils.report_utils as report_utils
45 import python_utils.watch_dirs as watch_dirs
46 import python_utils.start_port_server as start_port_server
48 from python_utils.upload_test_results import upload_results_to_bq
Drun_performance_tests.py36 import python_utils.jobset as jobset
37 import python_utils.report_utils as report_utils
/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/grpc-grpc/tools/run_tests/artifacts/
Dpackage_targets.py21 import python_utils.jobset as jobset
Ddistribtest_targets.py21 import python_utils.jobset as jobset
Dartifact_targets.py23 import python_utils.jobset as jobset
/external/grpc-grpc/tools/run_tests/sanity/
Dcheck_test_filtering.py25 import python_utils.filter_pull_request_tests as filter_pull_request_tests