Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for CreateStackOpsDecompositionPass (0.3 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/stack_ops_decomposition.cc

      if (!main) return;
      if (failed(DecomposeStackOps(&main.front(), module))) {
        signalPassFailure();
      }
    }
    
    }  // namespace
    
    namespace TF {
    std::unique_ptr<OperationPass<ModuleOp>> CreateStackOpsDecompositionPass() {
      return std::make_unique<StackOpsDecompositionPass>();
    }
    
    }  // namespace TF
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/passes.h

    // removed by resource lifting. Requires known maximum sizes of stacks and
    // known element shapes of push ops.
    std::unique_ptr<OperationPass<ModuleOp>> CreateStackOpsDecompositionPass();
    
    // Creates a pass to strip the "tf._noinline" attribute from the functions in
    // the module.
    std::unique_ptr<OperationPass<ModuleOp>> CreateStripNoinlineAttributePass();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

      // legalization passes.
      pm.addPass(mlir::createSCCPPass());
    
      if (lower_to_xla_hlo) {
        pm.addPass(mlir::TF::CreateTensorListOpsDecompositionPass());
      }
      pm.addPass(mlir::TF::CreateStackOpsDecompositionPass());
      if (lower_to_xla_hlo) {
        pm.addPass(mlir::TF::CreateTensorArrayOpsDecompositionPass());
      }
      pm.addNestedPass<mlir::func::FuncOp>(
          mlir::TFDevice::CreateDecomposeResourceOpsPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 45.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

    def StackOpsDecompositionPass : Pass<"tf-stack-ops-decomposition", "ModuleOp"> {
      let summary = "Decompose stack operations into local variable operations. Needs "
               "static shapes.";
      let constructor = "TF::CreateStackOpsDecompositionPass()";
      let description = [{
        A pass that converts stack operations to tensor operations and read/assign
        ops on local variables. A later resource lifting pass can further remove the
        local variables.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
Back to top