This commit defines linalg.depthwise_conv_2d_nhwc for depthwise
2-D convolution with NHWC input/output data format.
This op right now only support channel multiplier == 1, which is
the most common case.
Depends on D96297
Paths
| Differential D94966
[mlir][linalg] Define a depthwise 2-D convolution op ClosedPublic Authored by antiagainst on Jan 19 2021, 5:09 AM.
Details Summary This commit defines linalg.depthwise_conv_2d_nhwc for depthwise This op right now only support channel multiplier == 1, which is Depends on D96297
Diff Detail
Event TimelineHerald added subscribers: mravishankar, teijeong, rdzhabarov and 14 others. · View Herald TranscriptJan 19 2021, 5:09 AM
Comment Actions +1 on the negative tests but IIRC there is no size check/verifier automatically generated from the affine maps?
antiagainst added a parent revision: D96297: [mlir][linalg] Verify indexing map required attributes. antiagainst marked 2 inline comments as done. antiagainst added inline comments. This revision is now accepted and ready to land.Feb 8 2021, 11:39 PM Closed by commit rG068bf9e80220: [mlir][linalg] Define a depthwise 2-D convolution op (authored by antiagainst). · Explain WhyFeb 9 2021, 5:56 AM This revision was automatically updated to reflect the committed changes. antiagainst marked an inline comment as done.
Revision Contents
Diff 322361 mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOpsSpec.tc
mlir/test/Dialect/Linalg/generalize-named-ops.mlir
mlir/test/Dialect/Linalg/named-ops.mlir
|
The commit message mentions channel multiplier must be 1, this description should also be loud about it if people expect this parameter, as it does not appear here.