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 helper for creating MLOperandDescriptor to simplify steps #737

Merged
merged 7 commits into from
Jul 25, 2024

Conversation

inexorabletash
Copy link
Member

@inexorabletash inexorabletash commented Jul 23, 2024

The only non-trivial bits are a few cases where in the previous steps the shape was calculated after the MLOperandDescriptor was created, but this would not be an observable change to script.


Preview | Diff

The only non-trivial bits are a few cases where in the previous steps
the shape was calculated after the MLOperandDescriptor was created,
but this would not be an observable change to script.
@inexorabletash
Copy link
Member Author

Deleting lines is good! This should be pretty straightforward. @huningxin & @fdwr can you please review?

@inexorabletash
Copy link
Member Author

This would also simplify #676 significantly.

Copy link
Contributor

@huningxin huningxin left a comment

Choose a reason for hiding this comment

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

LGTM!

index.bs Outdated Show resolved Hide resolved
Copy link
Collaborator

@fdwr fdwr left a comment

Choose a reason for hiding this comment

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

This should cut down on the tedium some. Looks good with one addition.

inexorabletash and others added 2 commits July 25, 2024 09:51
Co-authored-by: Ningxin Hu <[email protected]>
Also, retain usage of "bidirectionally broadcastable"
Copy link
Collaborator

@fdwr fdwr left a comment

Choose a reason for hiding this comment

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

👍 TY. Fixing a small typo and merging.

index.bs Outdated Show resolved Hide resolved
@fdwr fdwr merged commit bd5da6b into webmachinelearning:main Jul 25, 2024
2 checks passed
github-actions bot added a commit that referenced this pull request Jul 25, 2024
SHA: bd5da6b
Reason: push, by fdwr

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@inexorabletash inexorabletash deleted the op-desc-helper branch July 25, 2024 20:32
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