[all-commits] [llvm/llvm-project] 63a2b0: [mlir][tosa] Support unranked input/weight tensors...

Luke Hutton via All-commits all-commits at lists.llvm.org
Fri Apr 25 06:31:38 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 63a2b0bd3dcb1eb77333d7b21e6086f94a5f540e
      https://github.com/llvm/llvm-project/commit/63a2b0bd3dcb1eb77333d7b21e6086f94a5f540e
  Author: Luke Hutton <luke.hutton at arm.com>
  Date:   2025-04-25 (Fri, 25 Apr 2025)

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

  Log Message:
  -----------
  [mlir][tosa] Support unranked input/weight tensors for convolution ops (#134856)

This commit ensures that convolution operators including: conv2d,
depthwise_conv2d, transpose_conv2d and conv3d, can have unranked
input/weight operands.

In order to support operands with unranked tensors, the tablegen
definition was relaxed. The relaxation of tensor type will later be
checked by the validation pass, should the user wish to use it.

Signed-off-by: Luke Hutton <luke.hutton at arm.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list