tf.compat.v1.flags.DEFINE_multi_string

Registers a flag whose value can be a list of any strings.

tf.compat.v1.flags.DEFINE_multi_string(
    name, default, help, flag_values=_flagvalues.FLAGS, **args
)

Use the flag on the command line multiple times to place multiple string values into the list. The 'default' may be a single string (which will be converted into a single-element list) or a list of strings.

Args: