Skip to content

Commit

Permalink
update example.yaml to showcase dynamically interpolated lists items
Browse files Browse the repository at this point in the history
  • Loading branch information
RafayAK committed Oct 14, 2023
1 parent f37ebdf commit 21b800c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion configs/experiment/example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,15 @@ defaults:
# all parameters below will be merged with parameters from default configurations set above
# this allows you to overwrite only specified parameters

tags: ["mnist", "simple_dense_net"]
# tags are a list of string that can be defined either as a JSON flow-style (in-line) list
# e.g. ["mnist", "simple_dense_net", ...] or as a YAML block-style array list like below.
# tags can even be dynamically interpolated at runtime.
# NOTE: dynamic interpolation only works in block-style lists like below, not flow-style lists.
tags:
- "mnist"
- "simple_dense_net"
- ${task_name} # will be dynamically interpolated
- batch_size_${data.batch_size} # will also be dynamically interpolated

seed: 12345

Expand Down

0 comments on commit 21b800c

Please sign in to comment.