Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 22 of 22 for notifyMatchFailure (0.31 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

    // to be compatible.
    template <typename Ty>
    static LogicalResult flipComatibleShapeError(Ty op, PatternRewriter& rewriter) {
      if (op.getIncompatibleShapeError()) {
        return rewriter.notifyMatchFailure(op, "the attribute is already true");
      }
    
      // incompatible_shape_error=false implies that the op will either return a
      // valid result or a scalar boolean indicating the error. For unranked outputs
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        auto tf_roll_op = cast<RollOp>(op);
    
        auto input_ty =
            mlir::dyn_cast<RankedTensorType>(tf_roll_op.getInput().getType());
        if (!input_ty || !input_ty.hasStaticShape()) {
          return rewriter.notifyMatchFailure(
              op, "require the type of input to have static shapes");
        }
    
        DenseIntElementsAttr shift_attr;
        Value shift = tf_roll_op.getShift();
        auto shift_ranked_attr_type =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
Back to top