Last active
May 24, 2020 23:30
-
-
Save elumixor/bf29c25a20972b45ffc3c73a1f96235b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
delta = 0.01. # Should be low (approximately betwween 0.01 and 0.05 | |
max_length = torch.sqrt(2 * delta / (search_dir @ HVP(search_dir))) | |
max_step = max_length * search_dir |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment