diff options
Diffstat (limited to 'mlir/docs/Dialects')
-rw-r--r-- | mlir/docs/Dialects/Vector.md | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mlir/docs/Dialects/Vector.md b/mlir/docs/Dialects/Vector.md index 6c8949d..839dc75 100644 --- a/mlir/docs/Dialects/Vector.md +++ b/mlir/docs/Dialects/Vector.md @@ -125,7 +125,7 @@ Some existing Arith and Vector Dialect on `n-D` `vector` types comprise: // Produces a vector<3x7x8xf32> %b = arith.mulf %0, %1 : vector<3x7x8xf32> // Produces a vector<3x7x8xf32> -%c = vector.splat %1 : vector<3x7x8xf32> +%c = vector.broadcast %1 : f32 to vector<3x7x8xf32> %d = vector.extract %0[1]: vector<7x8xf32> from vector<3x7x8xf32> %e = vector.extract %0[1, 5]: vector<8xf32> from vector<3x7x8xf32> @@ -176,8 +176,6 @@ infrastructure can apply iteratively. ### Virtual Vector to Hardware Vector Lowering For now, `VV -> HWV` are specified in C++ (see for instance the -[SplatOpLowering for n-D vectors](https://github.com/tensorflow/mlir/commit/0a0c4867c6a6fcb0a2f17ef26a791c1d551fe33d) -or the [VectorOuterProductOp lowering](https://github.com/tensorflow/mlir/commit/957b1ca9680b4aacabb3a480fbc4ebd2506334b8)). Simple |