[all-commits] [llvm/llvm-project] fcbf3f: [mlir][tosa] Fix tosa.transpose_conv2d decompositi...

Rob Suderman via All-commits all-commits at lists.llvm.org
Tue Jan 3 11:37:25 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fcbf3fafdb542d99e3e5971bff45daaffa7f2cc0
      https://github.com/llvm/llvm-project/commit/fcbf3fafdb542d99e3e5971bff45daaffa7f2cc0
  Author: Rob Suderman <suderman at google.com>
  Date:   2023-01-03 (Tue, 03 Jan 2023)

  Changed paths:
    M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
    M mlir/lib/Dialect/Tosa/Transforms/TosaDecomposeTransposeConv.cpp
    M mlir/test/Dialect/Tosa/tosa-decompose-transpose-conv.mlir

  Log Message:
  -----------
  [mlir][tosa] Fix tosa.transpose_conv2d decompositions for new version

The decomposition was no longer correct for transpose_conv2d to conv2d
after the updated TOSA specification. Specifically the behavior for
padding was changed to refer to padding the tranpsose_conv2d instead
of referencing the conv applied to the inverse transform.

Test was validated using the TOSA conformance tests.

Reviewed By: NatashaKnk

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




More information about the All-commits mailing list