Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GetAcceptedStableHLODialects (0.45 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/check_accepted_ops_pass.cc

     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(CheckAcceptedOpsPass)
    
      explicit CheckAcceptedOpsPass(
          const std::vector<std::string> &optional_accepted_dialects)
          : accepted_dialects_(GetAcceptedStableHLODialects()),
            optional_accepted_dialects_(optional_accepted_dialects) {}
    
      // Check if TF dialect ops exist over the module.
      void runOnOperation() override;
    
     private:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 24 21:06:11 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/stablehlo_util.h

    #include <string>
    #include <vector>
    
    #include "llvm/ADT/StringRef.h"
    
    namespace mlir {
    namespace odml {
    
    std::vector<std::string> GetAcceptedStableHLODialects();
    
    std::vector<std::string> GetAcceptedTFLiteDialects();
    
    // Can we find the given `dialect_name` in the `accepted_dialects`?
    bool IsAcceptedDialect(llvm::StringRef dialect_name,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 24 21:06:11 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/stablehlo_util.cc

    #include <algorithm>
    #include <string>
    #include <vector>
    
    #include "llvm/ADT/DenseSet.h"
    
    namespace mlir {
    namespace odml {
    
    std::vector<std::string> GetAcceptedStableHLODialects() {
      // It returns the default list of accepted dialects.
      std::vector<std::string> accepted_dialects({"stablehlo", "builtin", "func"});
      return accepted_dialects;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 24 21:06:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top