Replies: 1 comment 1 reply
-
Use something like OmegaConf.register_new_resolver("max", max)
OmegaConf.register_new_resolver("if", lambda cond, x, y: x if cond else y) then you should be able to use item3: "${max: ${item1}, ${item2}}"
item31: "${if:${item11},10,${item21}}" |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi friends!
I want to achieve the following
and
Are these supported by Hydra? I searched aaround and digged into the wiki but did not have any luck.
Beta Was this translation helpful? Give feedback.
All reactions