From: Lei Zhang Date: Tue, 9 Feb 2021 15:04:43 +0000 (-0500) Subject: [mlir][linalg] Fix depthwise conv C++ symbol to be consistent X-Git-Tag: llvmorg-14-init~15644 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7784ce078d8802802ceeda612479adbedf9afa81;p=platform%2Fupstream%2Fllvm.git [mlir][linalg] Fix depthwise conv C++ symbol to be consistent The assembly mnemonic includes information about input/filter data format. The C++ symbol should be consistent. --- diff --git a/mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOpsSpec.tc b/mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOpsSpec.tc index 6764e55..6c6c923 100644 --- a/mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOpsSpec.tc +++ b/mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOpsSpec.tc @@ -92,7 +92,7 @@ def conv_3d_ncdhw(I: f32(N, C, D, H, W), K: f32(F, C, KD, KH, KW)) -> (O: f32(N, I(n, c, d + kd, h + kh, w + kw), K(f, c, kd, kh, kw))); } -ods_def: +ods_def: def depthwise_conv_2d_input_nhwc_filter_hwc (I: f32(N, IH, IW, C), K: f32(KH, KW, C)) -> (O: f32(N, OH, OW, C))