From 21b800c51a0df137a4787d8e9e5d2c7ff70927ee Mon Sep 17 00:00:00 2001 From: Rafay Khan Date: Sat, 14 Oct 2023 15:06:31 +0500 Subject: [PATCH] update example.yaml to showcase dynamically interpolated lists items --- configs/experiment/example.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/configs/experiment/example.yaml b/configs/experiment/example.yaml index 9a93b540c..101e0ae52 100644 --- a/configs/experiment/example.yaml +++ b/configs/experiment/example.yaml @@ -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