[all-commits] [llvm/llvm-project] a7bf93: [mlir][tosa] Fix conv/depthwise conv padding for q...

rsuderman via All-commits all-commits at lists.llvm.org
Tue Aug 24 18:14:26 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a7bf93807b403fdd1af1c7270a20c4849a739be4
      https://github.com/llvm/llvm-project/commit/a7bf93807b403fdd1af1c7270a20c4849a739be4
  Author: Rob Suderman <rob.suderman at gmail.com>
  Date:   2021-08-24 (Tue, 24 Aug 2021)

  Changed paths:
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
    M mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir

  Log Message:
  -----------
  [mlir][tosa] Fix conv/depthwise conv padding for quantized values

When padding quantized operations, the padding needs to equal the zero point
of the input value. Corrected the pass to change the padding value if quantized.

Reviewed By: NatashaKnk

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




More information about the All-commits mailing list