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

Fix returning failure from methods, and use "item" for lists #819

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

inexorabletash
Copy link
Member

@inexorabletash inexorabletash commented Feb 18, 2025

Two glitches introduced in a88bb0e where validation steps were inlined; the out-of-line steps returned "failure" but now that they're inlined they need to explicitly throw. My bad.

Also, when referring to the contents of a list, the Infra term is "items", so use that and linkify it, rather than the more generic "elements" term. We more consistently use "elements" when referring to the contents of a tensor anyway.


Preview | Diff

Two glitches introduced in a88bb0e where validation steps were
inlined; the out-of-line steps returned "failure" but now that they're
inlined they need to explicitly throw. My bad.

Also, when referring to the contents of a list, the Infra term is
"items", so use that and linkify it, rather than the more generic
"elements" term. We more consistently use "elements" when referring to
the contents of a tensor anyway.
@inexorabletash
Copy link
Member Author

@huningxin and @fdwr can you review and merge if this LG2U? Thanks!

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.

👍

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!

@huningxin huningxin merged commit fccaccb into webmachinelearning:main Feb 18, 2025
2 checks passed
github-actions bot added a commit that referenced this pull request Feb 18, 2025
SHA: fccaccb
Reason: push, by huningxin

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@inexorabletash inexorabletash deleted the items-and-fix branch February 18, 2025 23:58
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