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

Refactor repr, str/print, summary, etc #5

Open
jacobpennington opened this issue Sep 8, 2022 · 0 comments
Open

Refactor repr, str/print, summary, etc #5

jacobpennington opened this issue Sep 8, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jacobpennington
Copy link
Collaborator

New pretty-print hierarchy to reduce the amount of text output by default
(example for Model, but similar for Layer, Phi etc):

repr - Model(layers=3, parameters=102, name='LN') # one liners
str - Model(...)

WeightChannels( ...): total parameters: 54
FIR(...) total parameters: 45

etc, similar to current repr. Medium length option.

.verbose() - put current str/print here, full output with all parameter values and attributes

@jacobpennington jacobpennington self-assigned this Sep 8, 2022
@jacobpennington jacobpennington added the enhancement New feature or request label Sep 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant