Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 3,321 for Passes (0.11 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/optimize_graph.cc

    #include "stablehlo/dialect/StablehloOps.h"  // from @stablehlo  // IWYU pragma: keep
    #include "tensorflow/compiler/mlir/quantization/stablehlo/passes/passes.h"  // IWYU pragma: keep
    
    namespace mlir::quant::stablehlo {
    
    #define GEN_PASS_DEF_OPTIMIZEGRAPHPASS
    #include "tensorflow/compiler/mlir/quantization/stablehlo/passes/passes.h.inc"
    
    namespace {
    
    class OptimizeGraphPass
        : public impl::OptimizeGraphPassBase<OptimizeGraphPass> {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Dec 21 20:11:52 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/BUILD

            "@llvm-project//mlir:Support",
        ],
    )
    
    cc_library(
        name = "passes",
        srcs = [
            "passes/canonicalize.cc",
            "passes/decompose.cc",
            "passes/generated_decompose.inc",
            "passes/raise_to_tf.cc",
            "passes/rewrite_quantized_io.cc",
        ],
        hdrs = [
            "passes/passes.h",
        ],
        deps = [
            ":tfr",
            ":utils",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/optimize.cc

    #include "tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/passes.h"
    #include "xla/mlir_hlo/mhlo/IR/hlo_ops.h"  // IWYU pragma: keep
    
    namespace mlir::quant::stablehlo {
    namespace {
    
    #define GEN_PASS_DEF_OPTIMIZEINTGRAPH
    #include "tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/passes.h.inc"
    
    class OptimizeIntGraph : public impl::OptimizeIntGraphBase<OptimizeIntGraph> {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 24 02:26:47 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/quantize_preprocess.cc

    #include "tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/passes.h"
    #include "tensorflow/compiler/mlir/quantization/stablehlo/passes/passes.h"
    #include "tensorflow/compiler/mlir/quantization/tensorflow/cc/run_passes.h"
    #include "tensorflow/compiler/mlir/quantization/tensorflow/passes/passes.h"
    #include "tensorflow/compiler/mlir/tensorflow/transforms/passes.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 12:49:45 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/BUILD

                ],
                "transforms/passes.h.inc",
            ),
        ],
        tblgen = "@llvm-project//mlir:mlir-tblgen",
        td_file = "transforms/passes.td",
        deps = ["@llvm-project//mlir:PassBaseTdFiles"],
    )
    
    cc_library(
        name = "compose_uniform_quantized_type_pass",
        srcs = ["transforms/compose_uniform_quantized_type_pass.cc"],
        hdrs = ["transforms/passes.h"],
        copts = ["-Ithird_party"],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:16:05 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/cc/run_passes.h

    namespace tensorflow {
    namespace quantization {
    
    // Runs MLIR passes with `module_op`. The passes are added by calling
    // `add_passes_func`, which is a callable receiving mlir::PassManager& as its
    // only argument. `name` identifies the set of passes added by `add_passes_func`
    // and is used for debugging. Changing the `name` does not modify the behavior
    // of the passes.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 07 01:17:26 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export.h

        const std::vector<tensorflow::AssetFileDef>& asset_file_defs);
    
    // Sets up and runs the passes for exporting `module_op`. The behavior of the
    // exporting passes is controlled by `export_opts`. Returns `AssetFileDef`s that
    // associate the input arguments of @main and the asset file names. Asset file
    // names will be used to feed the corresponding tensors during initialization
    // upon model loading.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:11:25 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/passes/unfuse_mhlo_batch_norm.cc

    #include "mlir/Support/TypeID.h"  // from @llvm-project
    #include "mlir/Transforms/GreedyPatternRewriteDriver.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/quantization/stablehlo/passes/passes.h"
    #include "xla/mlir_hlo/mhlo/transforms/rewriters.h"
    
    //===----------------------------------------------------------------------===//
    // The unfuse-mhlo-batch-norm Pass.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 12 06:28:12 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_tpu_model_to_cpu.cc

    #include "mlir/Transforms/GreedyPatternRewriteDriver.h"  // from @llvm-project
    #include "mlir/Transforms/Passes.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/lite/transforms/passes.h"
    #include "tensorflow/compiler/mlir/quantization/tensorflow/passes/passes.h"
    #include "tensorflow/compiler/mlir/quantization/tensorflow/passes/remove_identity_op_pattern.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/cc/pass_pipeline.h

    // Adds passes for static-range quantization post-calibration. Utilizes tensor
    // statistics collected from the calibration step and performs quantization.
    void AddPostCalibrationPasses(
        OpPassManager& pm,
        const ::stablehlo::quantization::PipelineConfig& pipeline_config,
        const ::stablehlo::quantization::QuantizationSpecs& specs);
    
    // Adds passes for weight-only quantization.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 12:53:33 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top