Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for accepted_dialects_ (0.29 sec)

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

      int num_dialect = 0;
      // Print the accepted dialect list.
      for (const auto &dialect_name : accepted_dialects_) {
        *os_ << dialect_name;
        if (++num_dialect < accepted_dialects_.size()) {
          *os_ << ", ";
        }
      }
    
      int converted_ops = 0;
      for (const auto &dialect_name : accepted_dialects_) {
        converted_ops += dialect_count_[dialect_name];
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/check_accepted_ops_pass.cc

          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:
      std::vector<std::string> accepted_dialects_;
      std::vector<std::string> optional_accepted_dialects_;
    };
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 24 21:06:11 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/stablehlo_util.cc

      return std::find(accepted_dialects.begin(), accepted_dialects.end(),
                       dialect_name) != accepted_dialects.end();
    }
    
    bool IsAcceptedOp(llvm::StringRef dialect_name, llvm::StringRef op_name,
                      const std::vector<std::string>& accepted_dialects) {
      return IsAcceptedDialect(dialect_name, accepted_dialects);
    }
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 24 21:06:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/stablehlo_util.h

    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,
                           const std::vector<std::string> &accepted_dialects);
    
    // The consolidated logic to verify if each final op is acceptable or not.
    // Also see `PrintOpStatsPass` and `CheckAcceptedOpsPass`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 24 21:06:11 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/op_stat_pass.h

    // Creates a pass which prints out a detailed report of conversion stats with:
    // success or not, % of Ops non-converted, list of non-converted Ops, etc.
    std::unique_ptr<Pass> createPrintOpStatsPass(
        std::vector<std::string> accepted_dialects);
    
    }  // namespace odml
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 24 21:06:11 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top