Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TfLiteExporter (0.2 sec)

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

    // TAC Exporter. It exports the provided Module to a tflite file.
    class TfLiteExporter : public mlir::TFL::tac::TacExporter {
     public:
      // Exporter configuration options.
      struct Options {
        bool export_runtime_metadata = false;
        bool output_mlir = false;
        std::string output_file_name;
        std::vector<std::string> target_hardware_backends;
      };
    
      explicit TfLiteExporter(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

        const std::vector<std::string>& target_hardware_backends) {
      mlir::TFL::tac::TfLiteExporter::Options options;
      options.output_mlir = false;
      options.output_file_name = output_file_name;
      options.export_runtime_metadata = false;
      options.target_hardware_backends = target_hardware_backends;
      return std::make_unique<mlir::TFL::tac::TfLiteExporter>(options);
    }
    }  // namespace
    
    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

        const std::vector<std::string>& target_hardware_backends) {
      mlir::TFL::tac::TfLiteExporter::Options options;
      options.output_mlir = output_mlir;
      options.output_file_name = output_file_name;
      options.export_runtime_metadata = export_runtime_metadata;
      options.target_hardware_backends = target_hardware_backends;
      return std::make_unique<mlir::TFL::tac::TfLiteExporter>(options);
    }
    
    absl::Status TargetAwareConversionMain() {
    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

          options_.file_name, options_.input_mlir,
          /*experimental_prune_unreachable_nodes_unconditionally=*/true,
          &source_mgr_, &context_);
    }
    
    //////////// Exporter ////////////
    absl::Status TfLiteExporter::Export(mlir::ModuleOp module) {
      // return absl::OkStatus();
      if (options_.export_runtime_metadata) {
        // Run the cost model for each device/op.
        AttachCostPerDevice(module, options_.target_hardware_backends);
    
    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