Skip to content

Comments

Add helper for creating MLOperandDescriptor to simplify steps#737

Merged
fdwr merged 7 commits intowebmachinelearning:mainfrom
inexorabletash:op-desc-helper
Jul 25, 2024
Merged

Add helper for creating MLOperandDescriptor to simplify steps#737
fdwr merged 7 commits intowebmachinelearning:mainfrom
inexorabletash:op-desc-helper

Conversation

@inexorabletash
Copy link
Contributor

@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 inexorabletash requested review from fdwr and huningxin July 23, 2024 16:28
@inexorabletash
Copy link
Contributor Author

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

@inexorabletash
Copy link
Contributor 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!

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.

@fdwr fdwr merged commit bd5da6b into webmachinelearning:main Jul 25, 2024
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