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.

Introduce `_normalized` property after normalizing config. Also, `Object.freeze` config.

See original GitHub issue

Calling getConfig will perform objects merge every time. Although it’s deterministic, the operation should be performed once and config should remain immutable after that.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
okonetcommented, Sep 7, 2017

Yeah, seems sane as well. I think I’m fine with either solution that will make code more readable.

0reactions
sudo-suhascommented, Aug 8, 2018

Seems unnecessary, closing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Customizing the behavior of cached fields - Apollo GraphQL
With this schema, our cache can normalize Book objects because they have an id field. However, Author objects have no id field, and...
Read more >
Switchable Normalization for Learning-to-Normalize Deep ...
Abstract—We address a learning-to-normalize problem by proposing Switchable Normalization (SN), which learns to select different.
Read more >
detectron2.config
Try to convert a config object into Python-like psuedo code. Note that perfect conversion is not always possible. So the returned results are...
Read more >
DIFFERENTIABLE LEARNING-TO-NORMALIZE VIA ...
We address a learning-to-normalize problem by proposing Switchable Normaliza- ... A batch setting is denoted as a 2-tuple, (#GPUs, #samples per GPU).
Read more >
Are mean normalization and feature scaling needed for k ...
A justified practice would be to run the analysis several times, randomizing objects order; then average the cluster centres of the correpondent ...
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