- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for py2 (2.22 sec)
-
tensorflow/compiler/mlir/lite/python/converter_python_api.cc
const tensorflow::quantization::PyFunctionLibrary* quantization_py_function_library) { // Use Python C API to validate and convert arguments. In py3 (bytes), // in py2 (str). auto ConvertArg = [&](PyObject* obj, bool* error) { char* buf; Py_ssize_t len; if (::tflite::python_utils::ConvertFromPyString(obj, &buf, &len) == -1) { *error = true;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 19.2K bytes - Viewed (0) -
configure.py
environ_cp['PYTHON_LIB_PATH'] = python_lib_path python_major_version = get_python_major_version(python_bin_path) if python_major_version == '2': write_to_bazelrc('build --host_force_python=PY2') # Convert python path to Windows style before writing into bazel.rc if is_windows() or is_cygwin(): python_lib_path = cygpath(python_lib_path) # Set-up env variables used by python_configure.bzl
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 10 04:32:44 UTC 2024 - 53.8K bytes - Viewed (1)