Skip to content

[executorch] Make operator<<() wrap long EValue lists #480

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

Closed
wants to merge 3 commits into from

Conversation

dbort
Copy link
Contributor

@dbort dbort commented Sep 25, 2023

Stack from ghstack (oldest at bottom):

Wrap long lists at ten items per line. I considered adding another stream manipulator to let users modify this, but it seemed less immediately useful than the "edge_items" manipulator.

Also considered wrapping at a particular column number, but it's way easier to count items then to count characters.

The indenting on some of the nested elements like Tensors and Tensor lists aren't the best, but we can fix that in a future diff.

Differential Revision: D49607605

Wrap long lists at ten items per line. I considered adding another stream manipulator to let users modify this, but it seemed less immediately useful than the "edge_items" manipulator.

Also considered wrapping at a particular column number, but it's way easier to count items then to count characters.

The indenting on some of the nested elements like Tensors and Tensor lists aren't the best, but we can fix that in a future diff.

Differential Revision: [D49607605](https://our.internmc.facebook.com/intern/diff/D49607605/)

[ghstack-poisoned]
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 25, 2023
Wrap long lists at ten items per line. I considered adding another stream manipulator to let users modify this, but it seemed less immediately useful than the "edge_items" manipulator.

Also considered wrapping at a particular column number, but it's way easier to count items then to count characters.

The indenting on some of the nested elements like Tensors and Tensor lists aren't the best, but we can fix that in a future diff.

Differential Revision: [D49607605](https://our.internmc.facebook.com/intern/diff/D49607605/)

[ghstack-poisoned]
Wrap long lists at ten items per line. I considered adding another stream manipulator to let users modify this, but it seemed less immediately useful than the "edge_items" manipulator.

Also considered wrapping at a particular column number, but it's way easier to count items then to count characters.

The indenting on some of the nested elements like Tensors and Tensor lists aren't the best, but we can fix that in a future diff.

Differential Revision: [D49607605](https://our.internmc.facebook.com/intern/diff/D49607605/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 6914003.

@facebook-github-bot facebook-github-bot deleted the gh/dbort/20/head branch September 29, 2023 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants