Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for PassPipelineRegistration (0.29 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/lower_cluster_to_runtime_ops.cc

    }
    
    // TODO(b/305211853): Unify the CPU/TPU/GPU Execution Ops and thus these two
    // passes should merge together.
    void RegisterTPULowerClusterToRuntimeOpsPassPipeline() {
      static mlir::PassPipelineRegistration<StandardPipelineOptions> pipeline(
          "tfrt-lower-cluster-to-runtime-ops-tpu",
          "Run all the passes involved after the clustering transformations from "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v1/tf_dialect_to_executor.cc

      return diag_handler.ConsumeStatus();
    }
    
    // Registers a pipeline builder function for TF Graph export. Should be
    // the same as ExportFromTensorflowDialectToExecutor just in PassRegistration
    // form.
    mlir::PassPipelineRegistration<> tf_dialect_to_executor_pipeline(
        "tf-dialect-to-executor-v1",
        "Run passes to convert from TF Dialect to Executor in preparation for "
        "exporting module back to TF Graph.",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 16 03:41:02 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/api/v2/tf_dialect_to_executor.cc

                                "Dialect. Read LLVM Pipeline Error"));
      }
    
      tf_dialect_to_executor_dialect_status->GetCell(kExportSuccess)
          ->IncrementBy(1);
      return absl::OkStatus();
    }
    
    mlir::PassPipelineRegistration<> tf_dialect_to_executor_pipeline(
        "tf-dialect-to-executor-v2",
        "Run passes to convert from TF Dialect to Executor in preparation for "
        "exporting module back to TF Graph.",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 23:22:50 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/tf_stablehlo_pass.cc

          options.skip_partitioned_calls));
      pm.addPass(mlir::createCanonicalizerPass());
      pm.addPass(mhlo::createHloLegalizeToStablehloPass());
    }
    
    static PassPipelineRegistration<TFToStablehloOptions>
        legalize_tf_to_stablehlo_pipeline("tf-stablehlo",
                                          "Legalize TF ops to StableHLO ops",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/cc/pass_pipeline.cc

      // NCHW->NHWC convolution conversion).
      pm.addNestedPass<func::FuncOp>(createFoldConstantTransposePass());
    }
    
    void RegisterPassPipelines() {
      static PassPipelineRegistration<> nchw_tensor_format_processing_pipeline(
          /*arg=*/"stablehlo-process-nchw-tensor",
          /*description=*/"Optimizes tensors with NCHW format.",
          AddProcessNchwTensorPasses);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/api/v1/cluster_tf.cc

          /*n_fallback_enabled*/ is_in_fallback_enabled_mode,
          /*result=*/"success");
    
      return absl::OkStatus();
    }
    
    // Registers a pipeline builder function for TF TPU V1 bridge.
    mlir::PassPipelineRegistration<> replicated_clustering_bridge_v1(
        "tf-replicated-clustering-bridge-v1",
        "Run all the passes involved in transforming a TensorFlow V1 graph before "
        "execution so that it is suitable for targeting devices.",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 22:25:18 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/optimize.cc

      return std::make_unique<TensorFlowOptimizePass>();
    }
    
    void RegisterTFOptimizePassPipeline() {
      // Registers a pipeline builder function for the default
      // canonicalize/optimizer.
      static mlir::PassPipelineRegistration<StandardPipelineOptions> pipeline(
          "tf-standard-pipeline",
          "Run all the passes involved in transforming/optimizing the graph after "
          "importing into MLIR, without any target specialization.",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/api/v2/cluster_tf.cc

          bridge_type, /*bridge_version=*/"v2", device_type,
          /*fallback_enabled=*/is_in_fallback_enabled_mode,
          /*result=*/"success");
    
      return absl::OkStatus();
    }
    
    mlir::PassPipelineRegistration<> replicated_clustering_bridge_v2(
        "tf-replicated-clustering-bridge-v2",
        "Run all the passes involved in transforming a TensorFlow 2 graph before "
        "execution so that it is suitable for targeting devices.",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 22:25:18 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/layout_optimization.cc

      // This static is kind of hack, it hooks the pipeline registration for the
      // command line and piggy-back to the TableGen generated registration code.
      static mlir::PassPipelineRegistration<LayoutOptimizationPipelineOptions>
          pipeline("tf-layout-optimization",
                   "Assigns optimal data layout to all layout sensitive operations "
                   "and cancel redundant transpose operations.",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

                                device_type, custom_legalization_passes);
    }
    
    void RegisterConvertMlirToXlaHloPipelineWithDefaults() {
      static mlir::PassPipelineRegistration<> pipeline(
          "tf-to-hlo-pipeline",
          "Convert TF dialect to HLO dialect (used for compilation in bridge).",
          [](mlir::OpPassManager& pm) {
            tensorflow::CreateConvertMlirToXlaHloPipeline(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 45.3K bytes
    - Viewed (0)
Back to top