question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Params and MACs Unit Specifier

See original GitHub issue

It would be very useful to have a way to specify the units (MB, GB, etc ) in which the number of parameters and MACS are reported. This could help quickly compare different architectures.

I think of something like adding arguments params_units and macs_units to the summary() function with a default value ‘auto’ to respect the current behavior.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:15 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
richardtmlcommented, Oct 20, 2022

Thank you for the quick reply @TylerYep . I could try to add this feature if you don’t mind.

0reactions
TylerYepcommented, Nov 7, 2022

Resolved by #188, will be released in v1.7.2.

Thank you for the contribution @richardtml !

Read more comments on GitHub >

github_iconTop Results From Across the Web

Property Specifiers | Unreal Engine Documentation
When declaring properties, Property Specifiers can be added to the declaration to control how the property behaves with various aspects of the Engine...
Read more >
String Format Specifiers - Apple Developer
Explains how to create, search, concatenate, and draw strings in Cocoa.
Read more >
python - How to count macs and parameters during forwarding ...
In this example, I could use forward_hook functions to trace two linear layers and their parameters.fn is hook function. m.register_forward_hook ...
Read more >
Understanding Systemd Units and Unit Files | DigitalOcean
In systemd , a unit refers to any resource that the system knows how to operate on and manage. This is the primary...
Read more >
systemd.unit - Freedesktop.org
Units names can be parameterized by a single argument called the "instance name". The unit is then constructed based on a "template file"...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found