/external/tensorflow/tensorflow/lite/python/optimize/ |
D | calibration_wrapper.cc | 50 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 …]
|
D | BUILD | 18 "//tensorflow/lite/python/interpreter_wrapper:python_utils",
|
/external/tensorflow/tensorflow/lite/python/interpreter_wrapper/ |
D | BUILD | 34 ":python_utils", 60 name = "python_utils", 61 srcs = ["python_utils.cc"], 62 hdrs = ["python_utils.h"],
|
D | interpreter_wrapper.cc | 67 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()
|
D | python_utils.h | 25 namespace python_utils {
|
D | numpy.h | 63 namespace python_utils {
|
D | python_utils.cc | 21 namespace python_utils { namespace
|
/external/tensorflow/tensorflow/lite/toco/python/ |
D | toco_python_api.cc | 102 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/ |
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()
|
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/ |
D | task_runner.py | 26 import python_utils.jobset as jobset 27 import python_utils.report_utils as report_utils
|
D | start_port_server.py | 26 import python_utils.start_port_server as start_port_server
|
D | run_microbenchmark.py | 23 import python_utils.jobset as jobset 24 import python_utils.start_port_server as start_port_server
|
D | run_tests_matrix.py | 24 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
|
D | run_grpclb_interop_tests.py | 34 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/ |
D | task_runner.py | 26 import python_utils.jobset as jobset 27 import python_utils.report_utils as report_utils
|
D | start_port_server.py | 26 import python_utils.start_port_server as start_port_server
|
D | run_microbenchmark.py | 23 import python_utils.jobset as jobset 24 import python_utils.start_port_server as start_port_server
|
D | run_tests_matrix.py | 24 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/ |
D | grpc_bazel_on_foundry_base.sh | 44 python ./tools/run_tests/python_utils/upload_rbe_results.py
|
/external/rust/crates/grpcio-sys/grpc/tools/internal_ci/macos/ |
D | grpc_run_bazel_c_cpp_tests.sh | 51 PYTHONHTTPSVERIFY=0 python ./tools/run_tests/python_utils/upload_rbe_results.py
|
/external/grpc-grpc/tools/internal_ci/linux/ |
D | grpc_bazel_on_foundry_base.sh | 70 python ./tools/run_tests/python_utils/upload_rbe_results.py
|
D | grpc_ubsan_on_foundry.sh | 73 python ./tools/run_tests/python_utils/upload_rbe_results.py
|
D | grpc_msan_on_foundry.sh | 76 python ./tools/run_tests/python_utils/upload_rbe_results.py
|
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/artifacts/ |
D | package_targets.py | 21 import python_utils.jobset as jobset
|
/external/grpc-grpc/tools/run_tests/artifacts/ |
D | package_targets.py | 21 import python_utils.jobset as jobset
|