[all-commits] [llvm/llvm-project] 5541a0: [mlir][tosa] Quantized tosa.avg_pool2d lowering to...

rsuderman via All-commits all-commits at lists.llvm.org
Tue Aug 24 19:03:02 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5541a05d6a5a74424dd6d98cfb6d9014a5fb17ca
      https://github.com/llvm/llvm-project/commit/5541a05d6a5a74424dd6d98cfb6d9014a5fb17ca
  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] Quantized tosa.avg_pool2d lowering to linalg

Includes the quantized version of average pool lowering to linalg dialect.
This includes a lit test for the transform. It is not 100% correct as the
multiplier / shift should be done in i64 however this is negligable rounding
difference.

Reviewed By: NatashaKnk

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




More information about the All-commits mailing list