Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetAvailableHardwares (0.21 sec)

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

      // Returns Status of the Run.
      virtual absl::Status Run();
    
      // Returns all available hardware backends registered in this module
      // instance.
      const std::vector<const tac::TargetHardware*>& GetAvailableHardwares() const {
        return const_backends_;
      }
    
      // Registers all dialects in 'registry' with the module.
      // This to allow clients to register extra dialects required.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/tac/transforms/target_annotation.cc

            SetAnnotation(op, kDevice, device, builder);
            device_is_set = true;
            break;
          }
        }
      } else {
        for (const auto* hardware : module_->GetAvailableHardwares()) {
          if (hardware == nullptr) continue;
          if (hardware->IsOpSupported(op)) {
            SetAnnotation(op, kDevice, GetHardwareName(hardware), builder);
            device_is_set = true;
            break;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 19:32:06 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top