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

run: test-3 #3

Open
shawwn opened this issue Apr 29, 2020 · 0 comments
Open

run: test-3 #3

shawwn opened this issue Apr 29, 2020 · 0 comments

Comments

@shawwn
Copy link
Member

shawwn commented Apr 29, 2020

import lumen
foo.bork = 99
include 'tensorfork/test#2'
foo.bar = 1e6
num_layers = 10
knobs.num_layers = %num_layers
num_layers = 11
knobs.num_layers2 = %num_layers
knobs.okay = 99.3
foo.bar = 1e9
knobs.g_lr = 0.001
knobs.d_lr = """!(+ (knobs 'knobs.g_lr) 0.9)"""
knobs.main = """!
(mac reference (x)
  (with form `(knobs ,(escape (if (and (string? x) (is? (search x "."))) x (string? x) (cat "knobs." x) x)))
    (print (str form))))
    
(list @foo.bar @d_lr @options.architecture)
"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant