Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ReplaceStablehloOpsInMainFunctionWithXlaCallModuleOpsPass (0.72 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/cc/pass_pipeline.cc

    void AddCallModuleSerializationPasses(OpPassManager& pm) {
      AddShapeLegalizationPasses(pm);
      pm.addPass(createReplaceStablehloOpsInMainFunctionWithXlaCallModuleOpsPass());
      // ReplaceStablehloOpsInMainFunctionWithXlaCallModuleOpsPass may create
      // duplicate constants. Add canonicalizer to deduplicate.
      pm.addNestedPass<func::FuncOp>(mlir::createCanonicalizerPass());
      pm.addPass(TF::CreateXlaCallModuleSerializationPass());
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/passes/passes.td

      }];
      let dependentDialects = [
          "mlir::func::FuncDialect",
          "mlir::stablehlo::StablehloDialect",
          "TF::TensorFlowDialect",
      ];
    }
    
    def ReplaceStablehloOpsInMainFunctionWithXlaCallModuleOpsPass : Pass<"stablehlo-replace-stablehlo-ops-in-main-function-with-xla-call-module-ops", "mlir::ModuleOp"> {
      let summary = "Replaces the StableHLO ops with a separate XlaCallModuleOps.";
      let description = [{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top