[Mlir-commits] [mlir] 7784ce0 - [mlir][linalg] Fix depthwise conv C++ symbol to be consistent
Lei Zhang
llvmlistbot at llvm.org
Tue Feb 9 07:07:36 PST 2021
Author: Lei Zhang
Date: 2021-02-09T10:06:32-05:00
New Revision: 7784ce078d8802802ceeda612479adbedf9afa81
URL: https://github.com/llvm/llvm-project/commit/7784ce078d8802802ceeda612479adbedf9afa81
DIFF: https://github.com/llvm/llvm-project/commit/7784ce078d8802802ceeda612479adbedf9afa81.diff
LOG: [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.
Added:
Modified:
mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOpsSpec.tc
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOpsSpec.tc b/mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOpsSpec.tc
index 6764e55e3610..6c6c92332f8f 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<DepthwiseConvNHWCOp>:
+ods_def<DepthwiseConvInputNHWCFilterHWCOp>:
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))
More information about the Mlir-commits
mailing list