Skip to content
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

Add meshgrid module #5205

Merged
merged 57 commits into from
Jun 15, 2021
Merged

Add meshgrid module #5205

merged 57 commits into from
Jun 15, 2021

Conversation

BBuf
Copy link
Contributor

@BBuf BBuf commented Jun 15, 2021

添加meshgrid module,这个OP不需要反向

docstring

图片

doctest

图片

BBuf added 30 commits May 25, 2021 11:01
outputs = []
for i in range(size):
view_shape = list()
for j in range(size):
Copy link
Contributor

@Flowingsun007 Flowingsun007 Jun 15, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

L44-L49可以简化下写法:

view_shape = [1] * size
view_shape[i] = -1

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已改。

@oneflow-ci-bot oneflow-ci-bot removed their request for review June 15, 2021 13:53
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot June 15, 2021 13:53
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot June 15, 2021 15:04
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot June 15, 2021 16:15
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot June 15, 2021 17:38
@oneflow-ci-bot oneflow-ci-bot self-requested a review June 15, 2021 18:49
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot June 15, 2021 20:29
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot June 15, 2021 21:30
@oneflow-ci-bot oneflow-ci-bot merged commit 6fc696c into master Jun 15, 2021
@oneflow-ci-bot oneflow-ci-bot deleted the add_meshgrid_module branch June 15, 2021 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants