[PATCH] D77382: Fix shape inference in toy tutorial

Frederik Gossen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 3 05:20:38 PDT 2020


frgossen created this revision.
frgossen added a project: LLVM.

The implementation of shape inference in the toy tutorial did not conform to the correct algorithmic description.
The result was only correct because all operations appear to be processed in sequence.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D77382

Files:
  mlir/examples/toy/Ch4/mlir/ShapeInferencePass.cpp
  mlir/examples/toy/Ch5/mlir/ShapeInferencePass.cpp
  mlir/examples/toy/Ch6/mlir/ShapeInferencePass.cpp
  mlir/examples/toy/Ch7/mlir/ShapeInferencePass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77382.254753.patch
Type: text/x-patch
Size: 4368 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200403/e1034886/attachment.bin>


More information about the llvm-commits mailing list