-
Notifications
You must be signed in to change notification settings - Fork 49
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
Content change: Add definitions for MLOperand's shape and dataType #555
Content change: Add definitions for MLOperand's shape and dataType #555
Conversation
This will conflict with some other PRs in flight so for now just review as "is this an improvement?" |
Looks good. |
5da50b2
to
f8e91a2
Compare
Simplify text that digs the dimensions and dataType out of an MLOperand's [[descriptor]] by introducing definitions, and use them consistently. Also simplify the definition for MLOperand's rank, and use it in more places.
f8e91a2
to
5d296a7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"is this an improvement?" - I think so. Thanks.
@inexorabletash : Please promote from draft when ready. 0D is merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Okay, merged the changes from main. I didn't force-push so the history has a merge commit. Hopefully I did it right! Should be ready for review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SLGTM. TY.
) SHA: 8503e24 Reason: push, by fdwr Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Old a busted: ... the [=property=] of |object| ... New hotness: ... |object|'s [=property=] ... Discussed in webmachinelearning#555 (comment)
Old and busted: ... the [=property=] of |object| ... New hotness: ... |object|'s [=property=] ... Discussed in webmachinelearning#555 (comment)
…565) * Bug fix: Correct "rank of op's shape" to just "rank of op" MLOperands have a rank; the shape just has a size. * Wording: Use shorter possessive form for abstract object properties Old and busted: ... the [=property=] of |object| ... New hotness: ... |object|'s [=property=] ... Discussed in #555 (comment) * Bug fix: Dedupe some words I noticed "then then" in the previous commit and searched for similar glitches to fix. * Bug fix: Incorrect referencing operand properties * Erroneously referencing descriptor properties, but directly against an operand. This can be fixed by using the shape and dataType shortcuts. (6 cases) * Simplifications where an operand's shape shortcut could be used. (3 cases)
Simplify text that digs the dimensions and dataType out of an MLOperand's [[descriptor]] by introducing definitions, and use them consistently.
Also simplify the definition for MLOperand's rank, and use it in more places.
Preview | Diff