Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 82 of 82 for matchAndRewrite (0.17 sec)

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

      auto func = getOperation();
    
      patterns.add<ConvertTFEinsumOp>(&getContext());
      (void)applyPatternsAndFoldGreedily(func, std::move(patterns));
    }
    
    }  // namespace
    
    LogicalResult ConvertTFEinsumOp::matchAndRewrite(
        TF::EinsumOp op, PatternRewriter& rewriter) const {
      if (op->getNumOperands() == 1) {
        return matchAndRewriteUnaryEinsumOp(op, rewriter);
      }
    
      RankedTensorType lhs =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.cc

            aqtype.getStorageTypeMax() - offset);
      }
      return new_qtype.castFromExpressedType(
          QType::castToExpressedType(signed_tensor_type));
    }
    
    LogicalResult RemoveDebugAttrPattern::matchAndRewrite(
        Operation* op, PatternRewriter& rewriter) const {
      // removeAttr will return nullptr if the attribute did not exist. Thus we can
      // return success(result) to indicate if this op has changed.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 43.2K bytes
    - Viewed (0)
Back to top