Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for m_NonZero (0.07 sec)

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

     public:
      LogicalResult matchAndRewrite(scf::IfOp if_op,
                                    PatternRewriter &rewriter) const override {
        // Then branch
        if (matchPattern(if_op.getCondition(), m_NonZero())) {
          return InlineRegion(if_op.getLoc(), rewriter, if_op,
                              &if_op.getThenRegion());
        }
    
        // Else branch
        if (matchPattern(if_op.getCondition(), m_Zero())) {
    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