Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for PyList_GetItem (0.17 sec)

  1. tensorflow/compiler/mlir/lite/python/converter_python_api.cc

      // Ensure op_denylist is non null
      if (!py_denylist) {
        return 0;
      }
      if (PyList_Check(py_denylist)) {
        for (int i = 0; i < PyList_GET_SIZE(py_denylist); ++i) {
          PyObject* value = PyList_GetItem(py_denylist, i);
          char* str_buf;
          Py_ssize_t length;
          if (ConvertFromPyString(value, &str_buf, &length) == -1) {
            return -1;
          }
          string_set->emplace(str_buf, length);
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 19.2K bytes
    - Viewed (0)
Back to top