[all-commits] [llvm/llvm-project] 83c56a: [mlir][linalg] Add depthwise_conv_2d_input_nhwc_fi...

Han-Chung Wang via All-commits all-commits at lists.llvm.org
Wed Mar 3 11:47:39 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 83c56aa4ee82acb63327f96f502c4778d972b412
      https://github.com/llvm/llvm-project/commit/83c56aa4ee82acb63327f96f502c4778d972b412
  Author: Hanhan Wang <hanchung at google.com>
  Date:   2021-03-03 (Wed, 03 Mar 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOpsSpec.tc
    M mlir/test/Dialect/Linalg/generalize-named-ops.mlir
    M mlir/test/Dialect/Linalg/named-ops.mlir

  Log Message:
  -----------
  [mlir][linalg] Add depthwise_conv_2d_input_nhwc_filter_hwcf to Linalg TC ops.

Different from the definition in Tensorflow and TOSA, the output is [N,H,W,C,M]. This can make transforms easier in LinAlg because the indexing maps are plain. E.g., to determine if the fill op has dependency between the depthwise conv op, the current pipeline only recognizes the dep if they are all projected affine map.

Reviewed By: asaadaldien

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




More information about the All-commits mailing list