Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for RetrieveCollectedErrors (0.19 sec)

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

          R"pbdoc(
          Registers the given custom opdefs to the TensorFlow global op registry.
        )pbdoc");
      m.def(
          "RetrieveCollectedErrors",
          []() {
            std::vector<std::string> collected_errors =
                tflite::RetrieveCollectedErrors();
            pybind11::list serialized_message_list(collected_errors.size());
            int i = 0;
            for (const auto& error_data : collected_errors) {
    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.RegisterCustomOpdefs(custom_opdefs_list)
    
    
    def wrapped_retrieve_collected_errors():
      """Wraps RetrieveCollectedErrors with lazy loader."""
      return _pywrap_converter_api.RetrieveCollectedErrors()
    
    
    def wrapped_flat_buffer_file_to_mlir(model, input_is_filepath):
      """Wraps FlatBufferFileToMlir with lazy loader."""
    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

    // 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.
    std::string FlatBufferFileToMlir(const std::string& model,
                                     bool input_is_filepath);
    
    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

                       "defs argument",
                       i);
          return nullptr;
        }
        TF_DeleteStatus(status);
      }
    
      Py_RETURN_TRUE;
    }
    
    std::vector<std::string> RetrieveCollectedErrors() {
      mlir::TFL::ErrorCollector* collector =
          mlir::TFL::ErrorCollector::GetErrorCollector();
      std::vector<std::string> collected_errors;
      for (const auto& error_data : collector->CollectedErrors()) {
    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