Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TfLiteImporter (0.13 sec)

  1. tensorflow/compiler/mlir/lite/experimental/tac/tflite_import_export.h

    // TAC Importer for TFLite.
    // This import to MLIR from tflite file or MLIR
    class TfLiteImporter : public mlir::TFL::tac::TacImporter {
     public:
      // Options for configuring the importer.
      struct Options {
        std::string file_name;
        // Whether the input file is an MLIR not tflite file.
        bool input_mlir = false;
      };
    
      explicit TfLiteImporter(const Options& options) : options_(options) {}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/tac/py_wrapper/tac_wrapper.cc

    namespace tflite {
    namespace {
    std::unique_ptr<mlir::TFL::tac::TacImporter> CreateTfLiteImporter(
        const std::string input_file_name) {
      mlir::TFL::tac::TfLiteImporter::Options options;
      options.file_name = input_file_name;
      options.input_mlir = false;
      return std::make_unique<mlir::TFL::tac::TfLiteImporter>(options);
    }
    
    std::unique_ptr<mlir::TFL::tac::TacExporter> CreateTfLiteExporter(
        const std::string output_file_name,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/experimental/tac/tac_translate.cc

        llvm::cl::init(false));
    
    namespace {
    
    std::unique_ptr<mlir::TFL::tac::TacImporter> CreateTfLiteImporter() {
      mlir::TFL::tac::TfLiteImporter::Options options;
      options.file_name = input_file_name;
      options.input_mlir = input_mlir;
      return std::make_unique<mlir::TFL::tac::TfLiteImporter>(options);
    }
    
    std::unique_ptr<mlir::TFL::tac::TacExporter> CreateTfLiteExporter(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 22 14:25:57 UTC 2022
    - 5.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/experimental/tac/tflite_import_export.cc

                    mlir::DictionaryAttr::get(module.getContext(), device_costs));
      });
    }
    
    }  // namespace
    
    //////////// Importer ////////////
    absl::StatusOr<OwningOpRef<mlir::ModuleOp>> TfLiteImporter::Import() {
      source_mgr_handler_ = std::make_unique<mlir::SourceMgrDiagnosticHandler>(
          source_mgr_, &context_);
      return ImportFlatbufferOrMlir(
          options_.file_name, options_.input_mlir,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 4.6K bytes
    - Viewed (0)
Back to top