Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for MlirSparsifyModel (0.13 sec)

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

                                PyObject* debug_options_proto_txt_raw = nullptr);
    
    // Sparsifies model to encode sparse tensors with proper format. Throws error if
    // 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.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 18:18:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/python/converter_python_api_wrapper.cc

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

        return nullptr;
      }
    
      return tflite::python_utils::ConvertToPyString(output_model.data(),
                                                     output_model.size());
    }
    
    PyObject* MlirSparsifyModel(PyObject* data) {
      using tflite::interpreter_wrapper::PythonErrorReporter;
      char* buf = nullptr;
      Py_ssize_t length;
      std::unique_ptr<PythonErrorReporter> error_reporter(new PythonErrorReporter);
    
    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