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.

What is ard_num_dims useful for?

See original GitHub issue

What is ard_num_dims useful for? Are there any use cases for when you’d want ARD for some kernel parameters but not others (at least within the context of a single constructor call)?. It’s also not clear what the expected behavior is when ard_num_dims is not equal to the number of dimensions being fed into the kernel.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Balandatcommented, Oct 18, 2018

Sounds reasonable to me. I can put up a PR for that if @gpleiss and @jacobrgardner are ok with that soft deprecation.

1reaction
eytancommented, Oct 18, 2018

If this is something you wanted to change, I would recommend introducing new kwargs / phasing out the old API incrementally (e.g., introduce input_dims and an ard flag kwargs, and throw a warning that they should be more explicit, and then later take the old API away in one or two point releases). Personally, I find it to be a lot less magical and intuitive as a new user. Perhaps y’all will want to see if the ard continues to be a point of confusion, and if it does, come up with some plan to slowly move people to some required input dimension w/ a boolean flag for ARD.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Applications of randomness - Wikipedia
Randomness has many uses in science, art, statistics, cryptography, gaming, gambling, and other fields. For example, random assignment in randomized ...
Read more >
How random is your randomness, and why does it matter?
Randomness is vital for computer security, making possible secure encryption that allows people to communicate secretly even if an adversary ...
Read more >
What Are Random Numbers and How Are They Used?
A random number is chosen from a set of numbers, typically using a random number generator. Random numbers are used in cryptography and...
Read more >
Introduction to Randomness and Random Numbers
Random numbers are useful for a variety of purposes, such as generating data encryption keys, simulating and modeling complex phenomena and for selecting ......
Read more >
What are some uses of a random number sequence? - Quora
It's useful in games; one wants to electronically generate poker hands or roulette throws, etc. Cryptology needs unpredictable sequences for encryption; Nearly ...
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