[PATCH] D75263: Fix/Clarify parts of MLIR toy tutorial chapter 6+7
River Riddle via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 27 10:02:10 PST 2020
rriddle accepted this revision.
rriddle added inline comments.
This revision is now accepted and ready to land.
================
Comment at: mlir/docs/Tutorials/Toy/Ch-7.md:404
```mlir
- %0 = toy.struct_constant [
- dense<[[1.0, 2.0, 3.0], [4.0, 5.0, 6.0]]> : tensor<2x3xf64>
- ] : !toy.struct<tensor<*xf64>>
+ // %0 from above
%1 = toy.struct_access %0[0] : !toy.struct<tensor<*xf64>> -> tensor<*xf64>
----------------
nit: `Using %0 from above.`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75263/new/
https://reviews.llvm.org/D75263
More information about the llvm-commits
mailing list