- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ReplaceStablehloOpsInMainFunctionWithXlaCallModuleOpsPass (0.91 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/passes/unwrap_xla_call_module_op.cc
.getValue(); func::FuncOp func_op = symbol_table.lookup<func::FuncOp>(function_name); // We should not unwrap if the function is not from // ReplaceStablehloOpsInMainFunctionWithXlaCallModuleOpsPass. if (!func_op->hasAttr(TF::kFromXlaCallModuleAttrName)) { return; } MLIRContext* context = call_op.getContext(); OpBuilder builder(context);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 07:39:40 UTC 2024 - 4.8K bytes - Viewed (0) -
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)