Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for populateCanonicalizationPatterns (0.54 sec)

  1. tensorflow/compiler/mlir/tfr/passes/passes.h

    namespace mlir {
    namespace TFR {
    
    // Scans the func op and adds all the canonicalization patterns of the ops
    // except the tf ops, inside the function.
    void populateCanonicalizationPatterns(func::FuncOp func,
                                          RewritePatternSet &patterns);
    
    // Decompose ops.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateDecomposeTFOpsPass(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/passes/canonicalize.cc

        return failure();
      }
    
      // If the inlining was successful then erase the scf.if op.
      rewriter.eraseOp(inline_point);
      return success();
    }
    
    }  // namespace
    
    void populateCanonicalizationPatterns(func::FuncOp func,
                                          RewritePatternSet &patterns) {
      MLIRContext *context = func.getContext();
      mlir::Dialect *tf = context->getLoadedDialect<mlir::TF::TensorFlowDialect>();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 14 22:15:06 UTC 2023
    - 6.8K bytes
    - Viewed (0)
Back to top