[all-commits] [llvm/llvm-project] 05e33d: [mlir][tosa] Resubmit add tosa.conv2d as tosa.full...

rsuderman via All-commits all-commits at lists.llvm.org
Mon Dec 6 15:40:02 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 05e33d846f822338b4d2e1706952b42bde80000b
      https://github.com/llvm/llvm-project/commit/05e33d846f822338b4d2e1706952b42bde80000b
  Author: Rob Suderman <rob.suderman at gmail.com>
  Date:   2021-12-06 (Mon, 06 Dec 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
    M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
    M mlir/test/Dialect/Tosa/canonicalize.mlir

  Log Message:
  -----------
  [mlir][tosa] Resubmit add tosa.conv2d as tosa.fully_connected canonicalization

Fixed the tosa.conv2d to tosa.fully_connected canonicalization for incorrect
output channels. Included uptes to tests to include checks for the result
shapes during canonicalization.

This allows conv2d to transform to the simpler fully_connected operation.

Reviewed By: mravishankar

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




More information about the All-commits mailing list