Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tensorflow/compiler/mlir/tfr/passes/decompose.cc

    void DecomposeTFOpsPass::ApplyCanonicalization() {
      func::FuncOp func = getOperation();
      RewritePatternSet patterns(&getContext());
    
      populateWithGenerated(patterns);
      populateCanonicalizationPatterns(func, patterns);
    
      (void)applyPatternsAndFoldGreedily(func, std::move(patterns));
    }
    
    LogicalResult DecomposeTFOpsPass::RewriteUnregisteredTFOps() {
      func::FuncOp func = getOperation();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc

                            : func->getParentOfType<ModuleOp>());
    
      RewritePatternSet patterns(&getContext());
      patterns.add<RewriteTFRCallOp>(ctx, table, materialize_derived_attrs_);
    
      populateCanonicalizationPatterns(func, patterns);
    
      (void)applyPatternsAndFoldGreedily(func, std::move(patterns));
    }
    }  // namespace
    
    // Creates an instance of the pass to raise TFR call ops to the TF ops.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
Back to top