@@ -39,9 +39,9 @@ LogicalResult FromTensorOp::verify() {
39
39
<< " input type " << getInput ().getType ()
40
40
<< " does not match output type "
41
41
<< getOutput ().getType ();
42
- diag.attachNote () << " The input type must be a tensor of shape [d] where d "
42
+ diag.attachNote () << " the input type must be a tensor of shape [d] where d "
43
43
" is at most the degree of the polynomialModulus of "
44
- " the output type's ring attribute. " ;
44
+ " the output type's ring attribute" ;
45
45
return diag;
46
46
}
47
47
@@ -55,8 +55,8 @@ LogicalResult FromTensorOp::verify() {
55
55
<< getInput ().getType ().getElementType ()
56
56
<< " is too large to fit in the coefficients of "
57
57
<< getOutput ().getType ();
58
- diag.attachNote () << " The input tensor's elements must be rescaled"
59
- " to fit before using from_tensor. " ;
58
+ diag.attachNote () << " the input tensor's elements must be rescaled"
59
+ " to fit before using from_tensor" ;
60
60
return diag;
61
61
}
62
62
@@ -79,9 +79,9 @@ LogicalResult ToTensorOp::verify() {
79
79
InFlightDiagnostic diag =
80
80
emitOpError () << " input type " << getInput ().getType ()
81
81
<< " does not match output type " << getOutput ().getType ();
82
- diag.attachNote () << " The input type must be a tensor of shape [d] where d "
82
+ diag.attachNote () << " he input type must be a tensor of shape [d] where d "
83
83
" is at most the degree of the polynomialModulus of "
84
- " the output type's ring attribute. " ;
84
+ " the output type's ring attribute" ;
85
85
return diag;
86
86
}
87
87
0 commit comments