这是indexloc提供的服务,不要输入任何密码
Skip to content

Add MHLO to LinAlg conversion for transposed convolution. #37

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 9 commits into from
Closed

Add MHLO to LinAlg conversion for transposed convolution. #37

wants to merge 9 commits into from

Conversation

akshaybaviskar
Copy link

Add MHLO to LinAlg conversion for transposed convolution.

avarma-cb and others added 9 commits January 14, 2022 08:49
-- This commit adds lowering of MHLO.RealDynamicSliceOp to Linalg.

Signed-off-by: Abhishek Varma <abhishek.varma@polymagelabs.com>
-- This commit fixes `size` computation for MHLO->Linalg lowering of real_dynamic_slice op.
-- size = (limit - start)/stride

Signed-off-by: Abhishek Varma <abhishek.varma@polymagelabs.com>
Lower mhlo.convolution to linalg when padding is non zero and rank of
input is 4.
 Lower mhlo.convolution to linalg when padding is non zero into a
 combination of linalg conv ops and linalg pad_tensor op. We apply
 padding to the input first, and then pass the padded input while
 creating linalg convolution ops.
Add cmake configuration for mlir-hlo so that external projects that want
to depend on it can imports its cmake targets (via -DMHLO_DIR=... for
example).
Add lmhlo -> affine lowering for non-splat lmhlo constants. Lower such
ops to straightline code of affine.store's storing to the memref.
Work around bug in mhlo.reduce op parser. Just drop parsing the trailing
location here. It was otherwise unable to parse it.
@google-cla
Copy link

google-cla bot commented Jun 13, 2022

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@akshaybaviskar akshaybaviskar deleted the transConv branch June 13, 2022 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants