- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for CreateXlaRewritePass (0.29 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/xla_rewrite.cc
module.walk([&](tf_device::ClusterFuncOp cluster_func_op) { RewriteCall(cluster_func_op, symtab, builder); }); } } // namespace namespace TFDevice { std::unique_ptr<OperationPass<ModuleOp>> CreateXlaRewritePass() { return std::make_unique<XlaRewritePass>(); } } // namespace TFDevice
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/lower_cluster_to_runtime_ops.cc
} } void AddNonTPULowerClusterToRuntimeOpsPassPipeline( OpPassManager& pm, llvm::StringRef module_name) { // Rewrite cluster functions into XLA launch ops. pm.addPass(mlir::TFDevice::CreateXlaRewritePass()); // Re-run the canonicalizer pass as some cleanup during resource op lifting // pass opens up some opportunities for canonicalization of cluster ops.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 17 18:52:57 UTC 2024 - 9.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_device_passes.td
return %arg0 : tensor<i32> } ``` Notice that the called function is rewritten, with the order of its parameters changed. }]; let constructor = "TFDevice::CreateXlaRewritePass()"; let dependentDialects = ["tf_device::TensorFlowDeviceDialect"]; } def XlaValidateInputsPass : Pass<"tf-xla-validate-inputs", "ModuleOp"> { let summary = "Validtes inputs to the TF CPU/GPU bridge";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 17 18:52:57 UTC 2024 - 12.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/passes.h
std::unique_ptr<OperationPass<ModuleOp>> CreateXlaInlineDeviceOpsPass(); // Creates a pass that rewrites partitioned calls with `_xla_compile_device // type` with `tf.XlaLaunch` ops. std::unique_ptr<OperationPass<ModuleOp>> CreateXlaRewritePass(); // Create a pass that validates the input graph to the CPU/GPU bridge. std::unique_ptr<OperationPass<ModuleOp>> CreateXlaValidateInputsPass(); } // namespace TFDevice namespace TFTPU {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 31.8K bytes - Viewed (0)