[all-commits] [llvm/llvm-project] bfedf1: [MLIR] Fix tensor shapes in Toy chapter 1

thopre01 via All-commits all-commits at lists.llvm.org
Fri Jan 27 02:09:38 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bfedf169f4261a0fbe097f4a717d375dda2503c4
      https://github.com/llvm/llvm-project/commit/bfedf169f4261a0fbe097f4a717d375dda2503c4
  Author: Thomas Preud'homme <thomas.preudhomme at arm.com>
  Date:   2023-01-27 (Fri, 27 Jan 2023)

  Changed paths:
    M mlir/docs/Tutorials/Toy/Ch-1.md
    M mlir/test/Examples/Toy/Ch1/ast.toy

  Log Message:
  -----------
  [MLIR] Fix tensor shapes in Toy chapter 1

In Toy tutorial chapter 1, multiply_transpose() is called with b<2, 3>
and c<3, 2> when both parameters should have the same shape. This commit
fixes this by instead using c and d as parameters and fix a comment typo
where c and d are mentioned to have shape <2, 2> when they actually have
shape <3, 2>.

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D142622




More information about the All-commits mailing list