Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for HasValidHardwareTarget (0.14 sec)

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

      auto* devce_hardware = mlir::TFL::tac::GetTargetHardware(hardware);
      if (devce_hardware == nullptr) return {};
      return devce_hardware->IsOpSupported(op);
    }
    
    bool HasValidHardwareTarget(mlir::Operation* op) {
      // All TFLite ops has CPU interface, should be enough to check for cpu.
      return IsOpSupported(op, "CPU");
    }
    
    std::optional<std::string> GetDeviceName(mlir::Operation* op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 06:11:34 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top