Skip to content

Commit

Permalink
fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwardCuiPeacock committed Aug 24, 2023
1 parent 2591221 commit 834e974
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/dynamic.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,9 @@ MODEL_1:
learning_rate: 0.002
amsgrad: True

# Flag to choose which model to use
MODEL_TYPE: "MODEL_1"

# Instead parsing with json, evaluate with @pyliteral
MODEL_SETTINGS_DICT: "@pyliteral @jinja {{ this|attr(this.MODEL_TYPE) }}"
```

0 comments on commit 834e974

Please sign in to comment.