This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] Add pooling_nchw_max, conv_2d_nchw as yaml ops.
ClosedPublic

Authored by cathyzhyi on Jul 23 2021, 5:55 AM.

Details

Summary
  • Add pooling_nchw_max.
  • Move conv_2d_nchw to yaml ops and add strides and dilation attributes.

Diff Detail

Event Timeline

cathyzhyi created this revision.Jul 23 2021, 5:55 AM
cathyzhyi requested review of this revision.Jul 23 2021, 5:55 AM
cathyzhyi updated this revision to Diff 361181.Jul 23 2021, 6:49 AM

clean up format

gysit accepted this revision.Jul 23 2021, 8:17 AM

LGTM!

This revision is now accepted and ready to land.Jul 23 2021, 8:17 AM

@gysit Hey Tobias, thanks a lot for reviewing! Could you please also help me land the change? I don't have commit access yet.

gysit added a comment.Jul 23 2021, 9:12 AM

Will do that!

Btw, the commit message should usually contain some tags, e.g. "[mlir][linalg] Add pooling_nchw_max, conv_2d_nchw as yaml ops." to clarify which parts of llvm it is touching.

Will do it before landing.

gysit retitled this revision from Add pooling_nchw_max, conv_2d_nchw as yaml ops to [mlir][linalg] Add pooling_nchw_max, conv_2d_nchw as yaml ops..Jul 23 2021, 9:13 AM
gysit edited the summary of this revision. (Show Details)

Will do that!

Btw, the commit message should usually contain some tags, e.g. "[mlir][linalg] Add pooling_nchw_max, conv_2d_nchw as yaml ops." to clarify which parts of llvm it is touching.

Will do it before landing.

Got it! Thanks a lot!

This revision was automatically updated to reflect the committed changes.
silvas added a subscriber: silvas.Aug 2 2021, 7:47 AM

great work yi!