Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for InstantiateBackends (0.13 sec)

  1. tensorflow/compiler/mlir/lite/experimental/tac/tac_module.cc

      if (failed(pm.run(*module))) {
        return absl::InternalError("conversion error");
      }
      return absl::OkStatus();
    }
    
    std::vector<std::unique_ptr<tac::TargetHardware>>
    TacModule::InstantiateBackends() {
      std::vector<std::unique_ptr<tac::TargetHardware>> backends;
      for (const auto& hardware_name : options_.hardware_backends) {
        auto factory = tac::GetTargetHardwareFactory(hardware_name);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/tac/tac_module.h

      absl::Status RunTacPasses(mlir::ModuleOp* module, bool debug_mode = false);
    
      // Create instances of all registered hardwares.
      std::vector<std::unique_ptr<tac::TargetHardware>> InstantiateBackends();
    
      std::unique_ptr<TacImporter> importer_;
      std::unique_ptr<TacExporter> exporter_;
      // Owned list of all target hardware backends.
      std::vector<std::unique_ptr<tac::TargetHardware>> backends_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top