[all-commits] [llvm/llvm-project] 8662a2: [mlir][tosa] Relax ranked constraint on quantizati...

rsuderman via All-commits all-commits at lists.llvm.org
Thu Sep 16 11:49:13 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8662a2f2081c2a6bf51a490caa045648c88dd230
      https://github.com/llvm/llvm-project/commit/8662a2f2081c2a6bf51a490caa045648c88dd230
  Author: Rob Suderman <rob.suderman at gmail.com>
  Date:   2021-09-16 (Thu, 16 Sep 2021)

  Changed paths:
    M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
    M mlir/lib/Dialect/Tosa/Utils/QuantUtils.cpp

  Log Message:
  -----------
  [mlir][tosa] Relax ranked constraint on quantization builder

TosaOp defintion had an artificial constraint that the input/output types
needed to be ranked to invoke the quantization builder. This is correct as an
unranked tensor could still be quantized.

Reviewed By: NatashaKnk

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




More information about the All-commits mailing list