Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 127 for PassManager (0.26 sec)

  1. tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_tf_test.cc

    }
    
    bool BuildAndRunPipeline(absl::string_view module_string,
                             const std::function<void(PassManager*)>& passes) {
      mlir::registerPassManagerCLOptions();
      MLIRContext context;
    
      OwningOpRef<ModuleOp> module =
          GetMlirModuleFromString(module_string, &context).value();
    
      PassManager pm(&context);
    
      if (mlir::failed(mlir::applyPassManagerCLOptions(pm))) return false;
      passes(&pm);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump.h

    #include "absl/status/status.h"
    #include "absl/strings/string_view.h"
    #include "mlir/Pass/PassManager.h"  // from @llvm-project
    
    namespace tensorflow {
    namespace quantization {
    
    // Enables IR printing for `pm`. When the passes are run, each pass will dump to
    // its own file with prefix `file_name_prefix`.
    void EnableIrPrinting(mlir::PassManager &pm,
                          absl::string_view file_name_prefix);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 03:17:14 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/debug/debug_test.cc

    #include "mlir/IR/Operation.h"  // from @llvm-project
    #include "mlir/IR/OwningOpRef.h"  // from @llvm-project
    #include "mlir/Pass/Pass.h"  // from @llvm-project
    #include "mlir/Pass/PassManager.h"  // from @llvm-project
    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    #include "mlir/Support/TypeID.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/lite/debug/debug_options.pb.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 11:15:16 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/cc/run_passes.h

    #include <optional>
    
    #include "absl/status/status.h"
    #include "absl/strings/str_format.h"
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/Pass/PassManager.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump.h"
    #include "tensorflow/compiler/mlir/tensorflow/utils/error_util.h"
    #include "tsl/platform/errors.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 07 01:17:26 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/internal/logging_hooks.cc

    #include <memory>
    #include <string>
    
    #include "llvm/ADT/StringRef.h"
    #include "mlir/Pass/PassManager.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/tensorflow/utils/data_dumper_logger_config.h"
    #include "tensorflow/core/util/debug_data_dumper.h"
    
    namespace tensorflow {
    namespace tf2xla {
    namespace internal {
    
    using mlir::PassManager;
    
    // Setup the input pass manager to enable IR dumping after each pass.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 05 14:26:22 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/python/unfreeze_constants.cc

    #include <string>
    
    #include "absl/log/log.h"
    #include "absl/status/status.h"
    #include "absl/strings/string_view.h"
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/Pass/PassManager.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/quantization/tensorflow/cc/run_passes.h"
    #include "tensorflow/compiler/mlir/quantization/tensorflow/cc/save_variables.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 11:07:03 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/inference/inference_metrics_pass_test.cc

        pm_ = std::make_unique<mlir::PassManager>(&context_);
        pm_->addPass(CreateInferenceMetricsPass());
      }
      mlir::LogicalResult Run() { return pm_->run(module_.get()); }
    
     private:
      MLIRContext context_;
      OwningOpRef<ModuleOp> module_;
      std::unique_ptr<mlir::PassManager> pm_;
    };
    
    TEST_F(InferenceMetricsPassTest, RecordsTrueForTPUPartitionedCallOp) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/internal/passes/verify_clustering_pass_test.cc

        pm_ = std::make_unique<mlir::PassManager>(&context_);
        pm_->addNestedPass<mlir::func::FuncOp>(CreateVerifyClusteringPass());
      }
    
      mlir::LogicalResult Run() { return pm_->run(module_.get()); }
    
     private:
      mlir::MLIRContext context_;
      mlir::OwningOpRef<mlir::ModuleOp> module_;
      std::unique_ptr<mlir::PassManager> pm_;
    };
    
    TEST_F(VerifyClusteringPassTest, OnlyTfFunctionalPasses) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 17:03:53 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/cc/run_passes.cc

    #include "tensorflow/compiler/mlir/quantization/tensorflow/cc/run_passes.h"
    
    #include <memory>
    #include <optional>
    
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/Pass/PassManager.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump.h"
    #include "tensorflow/compiler/mlir/tensorflow/utils/error_util.h"
    #include "tsl/platform/errors.h"
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 07 01:17:26 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/quantize_passes.h

    #include "mlir/Pass/PassManager.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/quantization/stablehlo/quantization_options.pb.h"
    
    namespace stablehlo {
    namespace quantization {
    // Adds passes for quantization of individual quantizable components.
    // (i.e. activation, weight, bias)
    void AddQuantizationPasses(mlir::PassManager& pass_manager,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 22 12:03:14 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top