Convert a dict of values into process call parameters.
tf.compat.v1.flags.flag_dict_to_args( flag_map, multi_flags=None )
This method is used to convert a dictionary into a sequence of parameters for a binary that parses arguments using this module.
Args | |
---|---|
flag_map | dict, a mapping where the keys are flag names (strings). values are treated according to their type:
|
multi_flags | set, names (strings) of flags that should be treated as multi-flags. |
Yields | |
---|---|
sequence of string suitable for a subprocess execution. |
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/python/tf/compat/v1/flags/flag_dict_to_args