Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CreateTPURewritePass (0.17 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/runtime_passes.h

    namespace mlir {
    namespace TFTPU {
    
    // Creates a pass that rewrites `tf_device.launch_func` on TPUs into TPU runtime
    // ops.
    std::unique_ptr<mlir::OperationPass<mlir::ModuleOp>> CreateTPURewritePass(
        llvm::StringRef module_name = llvm::StringRef());
    
    // Creates a pass that adds ops which perform formatting on variables at
    // run-time according to compilation result.
    std::unique_ptr<OperationPass<ModuleOp>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 10 18:58:57 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/lower_cluster_to_runtime_ops.cc

    }
    
    }  // namespace
    
    void AddTPULowerClusterToRuntimeOpsPassPipeline(OpPassManager& pm,
                                                    llvm::StringRef module_name) {
      pm.addPass(mlir::TFTPU::CreateTPURewritePass(module_name));
      pm.addPass(mlir::createSymbolDCEPass());
      pm.addNestedPass<FuncOp>(
          mlir::TFDevice::CreateReplicateInvariantOpHoistingPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top