Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for RegisterCustomOpdefs (0.14 sec)

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

          },
          py::arg("input_contents_txt_raw"),
          R"pbdoc(
          Returns a sparsified model.
        )pbdoc");
      m.def(
          "RegisterCustomOpdefs",
          [](py::object custom_opdefs_txt_raw) {
            return tensorflow::PyoOrThrow(
                tflite::RegisterCustomOpdefs(custom_opdefs_txt_raw.ptr()));
          },
          py::arg("custom_opdefs_txt_raw"),
          R"pbdoc(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 18:18:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/python/wrap_converter.py

      return _pywrap_converter_api.ExperimentalMlirSparsifyModel(input_data_str)
    
    
    def wrapped_register_custom_opdefs(custom_opdefs_list):
      """Wraps RegisterCustomOpdefs with lazy loader."""
      return _pywrap_converter_api.RegisterCustomOpdefs(custom_opdefs_list)
    
    
    def wrapped_retrieve_collected_errors():
      """Wraps RetrieveCollectedErrors with lazy loader."""
      return _pywrap_converter_api.RetrieveCollectedErrors()
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 18:18:30 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/python/_pywrap_converter_api.pyi

    def ExperimentalMlirSparsifyModel(input_contents_txt_raw: object) -> object: ...
    def FlatBufferToMlir(arg0: str, arg1: bool) -> str: ...
    def RegisterCustomOpdefs(custom_opdefs_txt_raw: object) -> object: ...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 18:18:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/python/converter_python_api.h

    // sparsification fails.
    PyObject* MlirSparsifyModel(PyObject* data);
    
    // Registers the given custom opdefs to TensorFlow global op registry.
    PyObject* RegisterCustomOpdefs(PyObject* list);
    
    // Returns the collected TFLite conversion errors.
    std::vector<std::string> RetrieveCollectedErrors();
    
    // Returns MLIR string dump of the given Flatbuffer model.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 18:18:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/python/converter_python_api.cc

        return nullptr;
      }
      return tflite::python_utils::ConvertToPyString(
          reinterpret_cast<const char*>(builder.GetCurrentBufferPointer()),
          builder.GetSize());
    }
    
    PyObject* RegisterCustomOpdefs(PyObject* list) {
      if (!PyList_Check(list)) {
        PyErr_SetString(PyExc_TypeError, "Expected list in argument");
        return nullptr;
      }
    
      int64_t size = PyList_Size(list);
    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