[mlir][NFC] Fix a few langref typos

This commit is contained in:
River Riddle 2022-05-16 16:23:01 -07:00
parent 0d863b5b90
commit 9f39867b10

View File

@ -95,8 +95,7 @@ func.func @mul(%A: tensor<100x?xf32>, %B: tensor<?x50xf32>) -> (tensor<100x50xf3
memref.dealloc %C_m : memref<100x50xf32>
// Call TensorFlow built-in function to print the result tensor.
"tf.Print"(%C){message: "mul result"}
: (tensor<100x50xf32) -> (tensor<100x50xf32>)
"tf.Print"(%C){message: "mul result"} : (tensor<100x50xf32>) -> (tensor<100x50xf32>)
return %C : tensor<100x50xf32>
}
@ -152,7 +151,7 @@ literal ::= `abcd` // Matches the literal `abcd`.
Code examples are presented in blue boxes.
```mlir
```
// This is an example use of the grammar above:
// This matches things like: ba, bana, boma, banana, banoma, bomana...
example ::= `b` (`an` | `om`)* `a`